oak icon indicating copy to clipboard operation
oak copied to clipboard

Handle different types of controllers

Open lolbinarycat opened this issue 5 years ago • 2 comments

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.

lolbinarycat avatar Aug 23 '20 20:08 lolbinarycat

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

Noofbiz avatar Aug 24 '20 14:08 Noofbiz

@Noofbiz Thank you for the link, it should be very helpful! We'll target this for the next release (3.0), it will probably involve buying a bunch of controllers to manually test with.

200sc avatar Aug 24 '20 18:08 200sc