diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-04-06 23:25:21 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-04-06 23:25:21 +0000 |
commit | 5d230524d55ae81a4e573caf0a012d9fcf2c2bee (patch) | |
tree | 0b540fc0d7265a59795154d8c7491c3e6303ff2f /apps | |
parent | fdb1028cb15bf640a3770e15a28b2aabb4eff093 (diff) |
Toss-in a Gigabeat S keymap for pegbox. #error for an unsupported map.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17004 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/pegbox.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c index 6a2feb1bf3..23fabf11c7 100644 --- a/apps/plugins/pegbox.c +++ b/apps/plugins/pegbox.c @@ -204,6 +204,23 @@ PLUGIN_HEADER #define LVL_UP_TEXT "VOL+" #define LVL_DOWN_TEXT "VOL-" +#elif CONFIG_KEYPAD == GIGABEAT_S_PAD +#define PEGBOX_SAVE BUTTON_SELECT +#define PEGBOX_QUIT BUTTON_BACK +#define PEGBOX_RESTART BUTTON_MENU +#define PEGBOX_LVL_UP BUTTON_VOL_UP +#define PEGBOX_LVL_DOWN BUTTON_VOL_DOWN +#define PEGBOX_UP BUTTON_UP +#define PEGBOX_DOWN BUTTON_DOWN +#define PEGBOX_RIGHT BUTTON_RIGHT +#define PEGBOX_LEFT BUTTON_LEFT + +#define SAVE_TEXT "SELECT" +#define QUIT_TEXT "BACK" +#define RESTART_TEXT "MENU" +#define LVL_UP_TEXT "VOL+" +#define LVL_DOWN_TEXT "VOL-" + #elif CONFIG_KEYPAD == MROBE100_PAD #define PEGBOX_SAVE BUTTON_SELECT #define PEGBOX_QUIT BUTTON_POWER @@ -271,6 +288,8 @@ PLUGIN_HEADER #define RESTART_TEXT "MENU" #define LVL_UP_TEXT "PLUS" #define LVL_DOWN_TEXT "MINUS" +#else +#error Unsupported keymap! #endif #if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) |