diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/sokoban.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/sokoban.c')
-rw-r--r-- | apps/plugins/sokoban.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index 994a1172c8..e823518ddb 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c | |||
@@ -75,6 +75,16 @@ PLUGIN_HEADER | |||
75 | #define SOKOBAN_LEVEL_DOWN (BUTTON_SELECT | BUTTON_LEFT) | 75 | #define SOKOBAN_LEVEL_DOWN (BUTTON_SELECT | BUTTON_LEFT) |
76 | #define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_PLAY) | 76 | #define SOKOBAN_LEVEL_REPEAT (BUTTON_SELECT | BUTTON_PLAY) |
77 | 77 | ||
78 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
79 | #define SOKOBAN_UP BUTTON_UP | ||
80 | #define SOKOBAN_DOWN BUTTON_DOWN | ||
81 | #define SOKOBAN_QUIT BUTTON_POWER | ||
82 | #define SOKOBAN_UNDO_PRE BUTTON_MENU | ||
83 | #define SOKOBAN_UNDO (BUTTON_MENU | BUTTON_REL) | ||
84 | #define SOKOBAN_LEVEL_UP (BUTTON_PLAY | BUTTON_UP) | ||
85 | #define SOKOBAN_LEVEL_DOWN (BUTTON_PLAY | BUTTON_DOWN) | ||
86 | #define SOKOBAN_LEVEL_REPEAT BUTTON_REC | ||
87 | |||
78 | #endif | 88 | #endif |
79 | 89 | ||
80 | #if LCD_DEPTH > 1 | 90 | #if LCD_DEPTH > 1 |