Skip to content

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
WinterMute pushed a commit that referenced this pull request Oct 27, 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.
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