diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/cube.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index a70e3322e0..378e39003c 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -106,6 +106,19 @@ PLUGIN_HEADER | |||
106 | #define CUBE_PAUSE (BUTTON_SELECT | BUTTON_REL) | 106 | #define CUBE_PAUSE (BUTTON_SELECT | BUTTON_REL) |
107 | #define CUBE_HIGHSPEED (BUTTON_MODE | BUTTON_EQ) /* TODO: this is impossible */ | 107 | #define CUBE_HIGHSPEED (BUTTON_MODE | BUTTON_EQ) /* TODO: this is impossible */ |
108 | 108 | ||
109 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
110 | #define CUBE_QUIT BUTTON_POWER | ||
111 | #define CUBE_X_INC BUTTON_LEFT | ||
112 | #define CUBE_X_DEC BUTTON_RIGHT | ||
113 | #define CUBE_Y_INC BUTTON_UP | ||
114 | #define CUBE_Y_DEC BUTTON_DOWN | ||
115 | #define CUBE_Z_INC (BUTTON_PLAY | BUTTON_UP) | ||
116 | #define CUBE_Z_DEC (BUTTON_PLAY | BUTTON_DOWN) | ||
117 | #define CUBE_MODE BUTTON_MENU | ||
118 | #define CUBE_PAUSE_PRE BUTTON_PLAY | ||
119 | #define CUBE_PAUSE (BUTTON_PLAY | BUTTON_REL) | ||
120 | #define CUBE_HIGHSPEED (BUTTON_REC | BUTTON_REL) | ||
121 | |||
109 | #endif | 122 | #endif |
110 | 123 | ||
111 | #ifdef HAVE_LCD_BITMAP | 124 | #ifdef HAVE_LCD_BITMAP |