fuze+: add doom and pacbox keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30696 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
faa6d40f09
commit
2c64d8f004
2 changed files with 21 additions and 0 deletions
|
@ -403,6 +403,16 @@ void I_ShutdownGraphics(void)
|
|||
#define DOOMBUTTON_ESC BUTTON_REC
|
||||
#define DOOMBUTTON_ENTER BUTTON_PLAY
|
||||
#define DOOMBUTTON_WEAPON (BUTTON_PLAY|BUTTON_REPEAT)
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
|
||||
#define DOOMBUTTON_UP BUTTON_UP
|
||||
#define DOOMBUTTON_DOWN BUTTON_DOWN
|
||||
#define DOOMBUTTON_LEFT BUTTON_LEFT
|
||||
#define DOOMBUTTON_RIGHT BUTTON_RIGHT
|
||||
#define DOOMBUTTON_SHOOT BUTTON_SELECT
|
||||
#define DOOMBUTTON_OPEN BUTTON_PLAYPAUSE
|
||||
#define DOOMBUTTON_ESC BUTTON_BACK
|
||||
#define DOOMBUTTON_ENTER (BUTTON_PLAYPAUSE|BUTTON_REPEAT)
|
||||
#define DOOMBUTTON_WEAPON (BUTTON_SELECT|BUTTON_REPEAT)
|
||||
|
||||
#else
|
||||
#error Keymap not defined!
|
||||
|
|
|
@ -243,6 +243,17 @@
|
|||
#define PACMAN_COIN BUTTON_OK
|
||||
#define PACMAN_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
|
||||
|
||||
#define PACMAN_UP BUTTON_UP
|
||||
#define PACMAN_DOWN BUTTON_DOWN
|
||||
#define PACMAN_LEFT BUTTON_LEFT
|
||||
#define PACMAN_RIGHT BUTTON_RIGHT
|
||||
#define PACMAN_1UP BUTTON_SELECT
|
||||
#define PACMAN_2UP BUTTON_BACK
|
||||
#define PACMAN_COIN BUTTON_PLAYPAUSE
|
||||
#define PACMAN_MENU BUTTON_POWER
|
||||
|
||||
#else
|
||||
|
||||
#error Keymap not defined!
|
||||
|
|
Loading…
Reference in a new issue