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

ogc: add env variable to support Wiimote held sideways #60

Merged
merged 1 commit into from
Mar 10, 2024

Conversation

mardy
Copy link
Collaborator

@mardy mardy commented Mar 9, 2024

Applications using the SDL GameController API can easily reconfigure the gamepad keys, but the lower-level Joystick APIs does not offer the same option. To make life easier for applications using the plain Joystick API, add an environment variable that automatically remaps the directional keys to match a Wiimote held sideways.

This avoid complicating the application's input code.

Applications using the SDL GameController API can easily reconfigure the
gamepad keys, but the lower-level Joystick APIs does not offer the same
option. To make life easier for applications using the plain Joystick
API, add an environment variable that automatically remaps the
directional keys to match a Wiimote held sideways.

This avoid complicating the application's input code.
@WinterMute WinterMute merged commit 853b3d6 into devkitPro:ogc-sdl-2.28 Mar 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants