diff options
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r-- | apps/plugins/pegbox.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index e000e98d33..c3d38997eb 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c | |||
@@ -43,41 +43,7 @@ | |||
43 | #define HOLE 6 | 43 | #define HOLE 6 |
44 | #define PLAYER 7 | 44 | #define PLAYER 7 |
45 | 45 | ||
46 | #if CONFIG_KEYPAD == RECORDER_PAD | 46 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
47 | #define PEGBOX_SELECT BUTTON_ON | ||
48 | #define PEGBOX_QUIT BUTTON_OFF | ||
49 | #define PEGBOX_RESTART BUTTON_F2 | ||
50 | #define PEGBOX_LVL_UP BUTTON_F1 | ||
51 | #define PEGBOX_LVL_DOWN BUTTON_F3 | ||
52 | #define PEGBOX_UP BUTTON_UP | ||
53 | #define PEGBOX_DOWN BUTTON_DOWN | ||
54 | #define PEGBOX_RIGHT BUTTON_RIGHT | ||
55 | #define PEGBOX_LEFT BUTTON_LEFT | ||
56 | |||
57 | #define SELECT_TEXT "ON" | ||
58 | #define QUIT_TEXT "OFF" | ||
59 | #define RESTART_TEXT "F2" | ||
60 | #define LVL_UP_TEXT "F1" | ||
61 | #define LVL_DOWN_TEXT "F3" | ||
62 | |||
63 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
64 | #define PEGBOX_SELECT BUTTON_OFF | ||
65 | #define PEGBOX_QUIT (BUTTON_MENU | BUTTON_LEFT) | ||
66 | #define PEGBOX_RESTART (BUTTON_MENU | BUTTON_RIGHT) | ||
67 | #define PEGBOX_LVL_UP (BUTTON_MENU | BUTTON_UP) | ||
68 | #define PEGBOX_LVL_DOWN (BUTTON_MENU | BUTTON_DOWN) | ||
69 | #define PEGBOX_UP BUTTON_UP | ||
70 | #define PEGBOX_DOWN BUTTON_DOWN | ||
71 | #define PEGBOX_RIGHT BUTTON_RIGHT | ||
72 | #define PEGBOX_LEFT BUTTON_LEFT | ||
73 | |||
74 | #define SELECT_TEXT "OFF" | ||
75 | #define QUIT_TEXT "M+LEFT" | ||
76 | #define RESTART_TEXT "M+RIGHT" | ||
77 | #define LVL_UP_TEXT "M+UP" | ||
78 | #define LVL_DOWN_TEXT "M+DOWN" | ||
79 | |||
80 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
81 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 47 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
82 | #define PEGBOX_SELECT BUTTON_SELECT | 48 | #define PEGBOX_SELECT BUTTON_SELECT |
83 | #define PEGBOX_QUIT BUTTON_OFF | 49 | #define PEGBOX_QUIT BUTTON_OFF |