Controller events via InputHandler in ubuntu


Anyone ever got that working?

I’m follwing the outline here

And keyboard is fine…but I don’t seem to get controller inputs.
But on my system
and when I use…
it finds it and lets me callibrate the thing,

Am I missing someting?


Anwering my own question here… To get controllers to work I had to:
add to Cargo.toml

sdl_controller = ["amethyst/sdl_controller"]

And also had to
sudo apt-get install libsdl2-dev

and for good measure, not sure if neccessary, I also did
sudo apt-get install libsdl2-2.0

cargo run --features "sdl_controller vulkan"

and thus I finally arrived at reception of controller events