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

Standardize buttons across multiple platforms/controller types #11

Open
luanpotter opened this issue Oct 25, 2023 · 2 comments
Open

Standardize buttons across multiple platforms/controller types #11

luanpotter opened this issue Oct 25, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@luanpotter
Copy link
Member

We need some generic way of identifying buttons in a platform and controller independent way
Also standardize dead zones and intensities of the triggers

Related: #4

@markvideon
Copy link
Collaborator

This might be a useful resource.

@markvideon
Copy link
Collaborator

markvideon commented May 19, 2024

I imagine this would look like defining some common set of controller elements inside gamepads_platform_interface and then each plugin implementation mapping inputs to those before invoking onGamepadEvent.

I think Unity is a good reference - using BUTTON_NORTH, BUTTON_SOUTH, etc. rather than BUTTON_X to describe a particular button on a controller, as the names of the buttons should not be considered uniform among all possible controllers. I'm less familiar with the input APIs of other game engines.

@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