Handle different types of controllers
lolbinarycat opened this issue · 2 comments
lolbinarycat commented
Different types of controllers (mainly xbox vs nintendo) use different button ids for different buttons. We should handle this (currently dpad left could be interpreted as RT, and some button just crash everything).
I am currently working on reworking driver_linux.go
to work with my current controller, but I only have one type of controller, so I wont be able to test xbox support.
Noofbiz commented
There's a database that has a lot of gamepad mappings and maps then to an Xbox type layout. It's what sdl and glfw use for them. It'll be very helpful for this 😊https://github.com/gabomdq/SDL_GameControllerDB