diff options
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.h')
-rw-r--r-- | apps/plugins/reversi/reversi-gui.h | 24 |
1 files changed, 2 insertions, 22 deletions
diff --git a/apps/plugins/reversi/reversi-gui.h b/apps/plugins/reversi/reversi-gui.h index 4ec6bcb67b..ceeabeebc8 100644 --- a/apps/plugins/reversi/reversi-gui.h +++ b/apps/plugins/reversi/reversi-gui.h | |||
@@ -27,28 +27,8 @@ | |||
27 | #define GAME_FILE PLUGIN_GAMES_DIR "/reversi.rev" | 27 | #define GAME_FILE PLUGIN_GAMES_DIR "/reversi.rev" |
28 | 28 | ||
29 | /* variable button definitions */ | 29 | /* variable button definitions */ |
30 | #if CONFIG_KEYPAD == RECORDER_PAD | 30 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
31 | #define REVERSI_BUTTON_QUIT BUTTON_OFF | 31 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
32 | #define REVERSI_BUTTON_UP BUTTON_UP | ||
33 | #define REVERSI_BUTTON_DOWN BUTTON_DOWN | ||
34 | #define REVERSI_BUTTON_LEFT BUTTON_LEFT | ||
35 | #define REVERSI_BUTTON_RIGHT BUTTON_RIGHT | ||
36 | #define REVERSI_BUTTON_MAKE_MOVE BUTTON_PLAY | ||
37 | #define REVERSI_BUTTON_MENU BUTTON_F1 | ||
38 | |||
39 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
40 | #define REVERSI_BUTTON_QUIT BUTTON_OFF | ||
41 | #define REVERSI_BUTTON_UP BUTTON_UP | ||
42 | #define REVERSI_BUTTON_DOWN BUTTON_DOWN | ||
43 | #define REVERSI_BUTTON_LEFT BUTTON_LEFT | ||
44 | #define REVERSI_BUTTON_RIGHT BUTTON_RIGHT | ||
45 | #define REVERSI_BUTTON_MAKE_MOVE BUTTON_MENU | ||
46 | #define REVERSI_BUTTON_MAKE_MOVE_SHORTPRESS | ||
47 | #define REVERSI_BUTTON_MENU_LONGPRESS | ||
48 | #define REVERSI_BUTTON_MENU BUTTON_MENU | ||
49 | |||
50 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
51 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
52 | #define REVERSI_BUTTON_QUIT BUTTON_OFF | 32 | #define REVERSI_BUTTON_QUIT BUTTON_OFF |
53 | #define REVERSI_BUTTON_UP BUTTON_UP | 33 | #define REVERSI_BUTTON_UP BUTTON_UP |
54 | #define REVERSI_BUTTON_DOWN BUTTON_DOWN | 34 | #define REVERSI_BUTTON_DOWN BUTTON_DOWN |