Commit 853b3d6
authored
ogc: add env variable to support Wiimote held sideways (#60)
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.1 parent cf19790 commit 853b3d6
1 file changed
+11
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
325 | 326 | | |
326 | 327 | | |
327 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
328 | 335 | | |
329 | 336 | | |
330 | 337 | | |
| |||
737 | 744 | | |
738 | 745 | | |
739 | 746 | | |
740 | | - | |
| 747 | + | |
741 | 748 | | |
742 | | - | |
| 749 | + | |
743 | 750 | | |
744 | | - | |
| 751 | + | |
745 | 752 | | |
746 | | - | |
| 753 | + | |
747 | 754 | | |
748 | 755 | | |
749 | 756 | | |
| |||
0 commit comments