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.