- Status Closed
- Percent Complete
- Task Type To Do (Reminder)
- Category Core
- Operating System All
- Severity Low
- Reported Version SuperZaxxon Beta 4
Attached to Project: OpenPandora Main OS
Opened by Michael Mrozek - 26.02.2010
Last edited by Michael Mrozek - 13.04.2010
Opened by Michael Mrozek - 26.02.2010
Last edited by Michael Mrozek - 13.04.2010
FS#59 - ToDo: Add joystick / keyboard switch to pnd_run and libpnd
The next kernel offers switching between a joystick / keyboard mode.
In joystick mode, the DPAD and ABXYRL Buttons behave like a joystick buttons and have no keyboard mappings.
In keyboard mode, the DPAD and ABXYRL Buttons have keyboard mappings and are NOT registered as joystick.
The normal keyboard keys are not affected by this.
PXML needs to have a switch added for that and pnd_run should change the mode according to that switch.
When the PND app has quit, it should always go back to keyboard mode.
The commands are the following:
echo 1 > /proc/pandora/game_button_mode # keyboard mode
echo 2 > /proc/pandora/game_button_mode # gamepad mode
Closed by Michael Mrozek
13.04.2010 23:23
Reason for closing: Won't implement
Additional comments about closing: Not useful in multitasking environment. Normally, every game should be coded to use the keyboard mode.
13.04.2010 23:23
Reason for closing: Won't implement
Additional comments about closing: Not useful in multitasking environment. Normally, every game should be coded to use the keyboard mode.