Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
luanpotter opened this issue Oct 25, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@luanpotter
Copy link
Member

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

@markvideon
Copy link
Collaborator

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.

@markvideon markvideon added the enhancement New feature or request label Jun 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants