diff options
author | Vitja Makarov <vitja.makarov@gmail.com> | 2008-10-07 16:38:28 +0000 |
---|---|---|
committer | Vitja Makarov <vitja.makarov@gmail.com> | 2008-10-07 16:38:28 +0000 |
commit | 2f84f699c0df4a82dfdcb2244e1c7bf4af99fc72 (patch) | |
tree | 179ebbbea6f2f234850e42b668813852d10817cb /apps/plugins/sokoban.c | |
parent | 981bd1cb3e65fdf86db03d9328232e58cf14ff1e (diff) |
IAUDIO67_PAD: Add keymaps for most of the plugins, they are not all tested yet.
IAUDIO7: Define MODEL_NAME in config
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18730 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index f8e73682dc..9ac98fe49f 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c @@ -276,6 +276,20 @@ PLUGIN_HEADER #define SOKOBAN_MENU BUTTON_MENU #define SOKOBAN_MENU_NAME "[MENU]" +#elif CONFIG_KEYPAD == IAUDIO67_PAD +#define SOKOBAN_LEFT BUTTON_LEFT +#define SOKOBAN_RIGHT BUTTON_RIGHT +#define SOKOBAN_UP BUTTON_STOP +#define SOKOBAN_DOWN BUTTON_PLAY +#define SOKOBAN_MENU BUTTON_MENU +#define SOKOBAN_UNDO BUTTON_VOLDOWN +#define SOKOBAN_REDO BUTTON_VOLUP +#define SOKOBAN_PAUSE (BUTTON_MENU|BUTTON_LEFT) +#define BUTTON_SAVE (BUTTON_MENU|BUTTON_PLAY) +#define BUTTON_SAVE_NAME "MENU+PLAY" + +#define SOKOBAN_RC_MENU (BUTTON_MENU|BUTTON_STOP) + #else #error No keymap defined! #endif |