diff options
Diffstat (limited to 'apps/plugins/chessclock.c')
-rw-r--r-- | apps/plugins/chessclock.c | 35 |
1 files changed, 1 insertions, 34 deletions
diff --git a/apps/plugins/chessclock.c b/apps/plugins/chessclock.c index ba8fea4935..6b2d436679 100644 --- a/apps/plugins/chessclock.c +++ b/apps/plugins/chessclock.c | |||
@@ -24,40 +24,7 @@ | |||
24 | 24 | ||
25 | 25 | ||
26 | /* variable button definitions */ | 26 | /* variable button definitions */ |
27 | #if CONFIG_KEYPAD == RECORDER_PAD | 27 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
28 | #define CHC_QUIT BUTTON_OFF | ||
29 | #define CHC_STARTSTOP BUTTON_PLAY | ||
30 | #define CHC_RESET BUTTON_LEFT | ||
31 | #define CHC_MENU BUTTON_F1 | ||
32 | #define CHC_SETTINGS_INC BUTTON_UP | ||
33 | #define CHC_SETTINGS_DEC BUTTON_DOWN | ||
34 | #define CHC_SETTINGS_OK BUTTON_PLAY | ||
35 | #define CHC_SETTINGS_OK2 BUTTON_LEFT | ||
36 | #define CHC_SETTINGS_CANCEL BUTTON_OFF | ||
37 | |||
38 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
39 | #define CHC_QUIT BUTTON_OFF | ||
40 | #define CHC_STARTSTOP BUTTON_RIGHT | ||
41 | #define CHC_RESET BUTTON_LEFT | ||
42 | #define CHC_MENU BUTTON_MENU | ||
43 | #define CHC_SETTINGS_INC BUTTON_UP | ||
44 | #define CHC_SETTINGS_DEC BUTTON_DOWN | ||
45 | #define CHC_SETTINGS_OK BUTTON_RIGHT | ||
46 | #define CHC_SETTINGS_OK2 BUTTON_LEFT | ||
47 | #define CHC_SETTINGS_CANCEL BUTTON_MENU | ||
48 | |||
49 | #elif CONFIG_KEYPAD == PLAYER_PAD | ||
50 | #define CHC_QUIT BUTTON_ON | ||
51 | #define CHC_STARTSTOP BUTTON_PLAY | ||
52 | #define CHC_RESET BUTTON_STOP | ||
53 | #define CHC_MENU BUTTON_MENU | ||
54 | #define CHC_SETTINGS_INC BUTTON_RIGHT | ||
55 | #define CHC_SETTINGS_DEC BUTTON_LEFT | ||
56 | #define CHC_SETTINGS_OK BUTTON_PLAY | ||
57 | #define CHC_SETTINGS_CANCEL BUTTON_STOP | ||
58 | #define CHC_SETTINGS_CANCEL2 BUTTON_MENU | ||
59 | |||
60 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 28 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
62 | #define CHC_QUIT BUTTON_SELECT | 29 | #define CHC_QUIT BUTTON_SELECT |
63 | #define CHC_STARTSTOP BUTTON_ON | 30 | #define CHC_STARTSTOP BUTTON_ON |