flame-engine/gamepads

Support for more advanced features if supported by the platform/controller

Opened this issue · 1 comments

Potentially add some more advanced features if the controller/platform permits (the xbox player number, colors, rumble, etc)

Is this at odds with the goal stated in #12 of the smallest, thinnest native bridge?

E.g. For gamepad support on Android, the typical KeyEvent API appears to support specific gamepad button inputs and there are examples of how you might do things like support multiple controllers and handle input actions.

On the other hand, it's recommended that if you are making a game you instead use the Game Controller Library, which is distributed as *.aar files and C headers. The main API for that is here. Output from ffigen was about 4k lines, which for ffi is pretty good.