forked from len0rd/rockbox
D2: Enable plugin building (using initial keymaps from FS#8708 by Andreas Mueller, with some tweaks).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16751 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ecde125fa7
commit
554d7ed902
60 changed files with 538 additions and 9 deletions
|
@ -277,6 +277,22 @@ extern const fb_data sokoban_tiles[];
|
|||
|
||||
#define SOKOBAN_RC_MENU BUTTON_REC
|
||||
|
||||
#elif CONFIG_KEYPAD == COWOND2_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_PRE BUTTON_PLUS
|
||||
#define SOKOBAN_UNDO (BUTTON_LEFT|BUTTON_MENU)
|
||||
#define SOKOBAN_REDO (BUTTON_RIGHT | BUTTON_MENU)
|
||||
#define SOKOBAN_LEVEL_DOWN (BUTTON_MENU | BUTTON_DOWN)
|
||||
#define SOKOBAN_LEVEL_UP (BUTTON_MENU | BUTTON_UP)
|
||||
#define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT|BUTTON_MENU)
|
||||
#define SOKOBAN_PAUSE BUTTON_SELECT
|
||||
#define BUTTON_SAVE BUTTON_SELECT
|
||||
#define BUTTON_SAVE_NAME "SELECT"
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue