diff options
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 34 |
1 files changed, 1 insertions, 33 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 0f51e44e5c..4cd314a035 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -37,39 +37,7 @@ | |||
37 | #define DISP_TIME 30 | 37 | #define DISP_TIME 30 |
38 | 38 | ||
39 | /* variable button definitions */ | 39 | /* variable button definitions */ |
40 | #if CONFIG_KEYPAD == RECORDER_PAD | 40 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
41 | #define CUBE_QUIT BUTTON_OFF | ||
42 | #define CUBE_NEXT BUTTON_RIGHT | ||
43 | #define CUBE_PREV BUTTON_LEFT | ||
44 | #define CUBE_INC BUTTON_UP | ||
45 | #define CUBE_DEC BUTTON_DOWN | ||
46 | #define CUBE_MODE BUTTON_F1 | ||
47 | #define CUBE_PAUSE BUTTON_PLAY | ||
48 | #define CUBE_HIGHSPEED BUTTON_ON | ||
49 | |||
50 | #elif CONFIG_KEYPAD == PLAYER_PAD | ||
51 | #define CUBE_QUIT BUTTON_STOP | ||
52 | #define CUBE_INC BUTTON_RIGHT | ||
53 | #define CUBE_DEC BUTTON_LEFT | ||
54 | #define CUBE_NEXT (BUTTON_ON | BUTTON_RIGHT) | ||
55 | #define CUBE_PREV (BUTTON_ON | BUTTON_LEFT) | ||
56 | #define CUBE_MODE BUTTON_MENU | ||
57 | #define CUBE_PAUSE BUTTON_PLAY | ||
58 | #define CUBE_HIGHSPEED_PRE BUTTON_ON | ||
59 | #define CUBE_HIGHSPEED (BUTTON_ON | BUTTON_REL) | ||
60 | |||
61 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
62 | #define CUBE_QUIT BUTTON_OFF | ||
63 | #define CUBE_NEXT BUTTON_RIGHT | ||
64 | #define CUBE_PREV BUTTON_LEFT | ||
65 | #define CUBE_INC BUTTON_UP | ||
66 | #define CUBE_DEC BUTTON_DOWN | ||
67 | #define CUBE_MODE_PRE BUTTON_MENU | ||
68 | #define CUBE_MODE (BUTTON_MENU | BUTTON_REL) | ||
69 | #define CUBE_PAUSE (BUTTON_MENU | BUTTON_LEFT) | ||
70 | #define CUBE_HIGHSPEED (BUTTON_MENU | BUTTON_RIGHT) | ||
71 | |||
72 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
73 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 41 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
74 | #define CUBE_QUIT BUTTON_OFF | 42 | #define CUBE_QUIT BUTTON_OFF |
75 | #define CUBE_NEXT BUTTON_RIGHT | 43 | #define CUBE_NEXT BUTTON_RIGHT |