forked from len0rd/rockbox
Added keymaps for ZVM to plugins. Enabled zvm plugin building in tools/configure. FS#9605 by Adam Hogan and Robert Menes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19335 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
203722136c
commit
cea285d64e
58 changed files with 538 additions and 6 deletions
|
@ -314,6 +314,21 @@ PLUGIN_HEADER
|
|||
|
||||
#define SOKOBAN_RC_MENU (BUTTON_MENU|BUTTON_STOP)
|
||||
|
||||
#elif CONFIG_KEYPAD == CREATIVEZVM_PAD
|
||||
#define SOKOBAN_LEFT BUTTON_LEFT
|
||||
#define SOKOBAN_RIGHT BUTTON_RIGHT
|
||||
#define SOKOBAN_UP BUTTON_UP
|
||||
#define SOKOBAN_DOWN BUTTON_DOWN
|
||||
#define SOKOBAN_MENU BUTTON_MENU
|
||||
#define SOKOBAN_UNDO BUTTON_BACK
|
||||
#define SOKOBAN_REDO (BUTTON_BACK | BUTTON_PLAY)
|
||||
#define SOKOBAN_LEVEL_DOWN (BUTTON_SELECT | BUTTON_DOWN)
|
||||
#define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_RIGHT)
|
||||
#define SOKOBAN_LEVEL_UP (BUTTON_SELECT | BUTTON_UP)
|
||||
#define SOKOBAN_PAUSE BUTTON_PLAY
|
||||
#define BUTTON_SAVE BUTTON_CUSTOM
|
||||
#define BUTTON_SAVE_NAME "CUSTOM"
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue