diff options
Diffstat (limited to 'apps/plugins/sudoku/sudoku.h')
-rw-r--r-- | apps/plugins/sudoku/sudoku.h | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/apps/plugins/sudoku/sudoku.h b/apps/plugins/sudoku/sudoku.h index 47000b8e25..d1eca7fcd4 100644 --- a/apps/plugins/sudoku/sudoku.h +++ b/apps/plugins/sudoku/sudoku.h | |||
@@ -27,31 +27,8 @@ | |||
27 | #define GAME_FILE PLUGIN_GAMES_DIR "/sudoku.ss" | 27 | #define GAME_FILE PLUGIN_GAMES_DIR "/sudoku.ss" |
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 SUDOKU_BUTTON_QUIT BUTTON_OFF | 31 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
32 | #define SUDOKU_BUTTON_UP BUTTON_UP | ||
33 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN | ||
34 | #define SUDOKU_BUTTON_LEFT BUTTON_LEFT | ||
35 | #define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT | ||
36 | #define SUDOKU_BUTTON_TOGGLE BUTTON_PLAY | ||
37 | #define SUDOKU_BUTTON_MENU BUTTON_F1 | ||
38 | #define SUDOKU_BUTTON_POSSIBLE BUTTON_F2 | ||
39 | |||
40 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
41 | #define SUDOKU_BUTTON_QUIT BUTTON_OFF | ||
42 | #define SUDOKU_BUTTON_UP BUTTON_UP | ||
43 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN | ||
44 | #define SUDOKU_BUTTON_LEFT BUTTON_LEFT | ||
45 | #define SUDOKU_BUTTON_RIGHT BUTTON_RIGHT | ||
46 | #define SUDOKU_BUTTON_ALTTOGGLE (BUTTON_MENU | BUTTON_DOWN) | ||
47 | #define SUDOKU_BUTTON_TOGGLE_PRE BUTTON_MENU | ||
48 | #define SUDOKU_BUTTON_TOGGLE (BUTTON_MENU | BUTTON_REL) | ||
49 | #define SUDOKU_BUTTON_MENU_PRE BUTTON_MENU | ||
50 | #define SUDOKU_BUTTON_MENU (BUTTON_MENU | BUTTON_REPEAT) | ||
51 | #define SUDOKU_BUTTON_POSSIBLE (BUTTON_MENU | BUTTON_LEFT) | ||
52 | |||
53 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
54 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
55 | #define SUDOKU_BUTTON_QUIT BUTTON_OFF | 32 | #define SUDOKU_BUTTON_QUIT BUTTON_OFF |
56 | #define SUDOKU_BUTTON_UP BUTTON_UP | 33 | #define SUDOKU_BUTTON_UP BUTTON_UP |
57 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN | 34 | #define SUDOKU_BUTTON_DOWN BUTTON_DOWN |