diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2008-05-02 00:38:11 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2008-05-02 00:38:11 +0000 |
commit | a74d15025e24593962b9d02ee8dc67d497f8e42e (patch) | |
tree | 1ef1cc8c0a131c3848029c83d767271599b0fd32 /apps/plugins/zxbox | |
parent | 05423386d4c5cb185c21f4bb1014618c6f66e6d4 (diff) |
Build the remaining plugins for Gigabeat S and straigten out the fake IRAM in the codecs and plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17303 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/zxbox')
-rw-r--r-- | apps/plugins/zxbox/keymaps.h | 9 | ||||
-rw-r--r-- | apps/plugins/zxbox/zxbox_keyb.c | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/apps/plugins/zxbox/keymaps.h b/apps/plugins/zxbox/keymaps.h index 49156c2f11..ca9d2093b5 100644 --- a/apps/plugins/zxbox/keymaps.h +++ b/apps/plugins/zxbox/keymaps.h @@ -28,6 +28,15 @@ #define ZX_SELECT BUTTON_SELECT #define ZX_MENU BUTTON_MENU +#elif CONFIG_KEYPAD == GIGABEAT_S_PAD + +#define ZX_UP BUTTON_UP +#define ZX_DOWN BUTTON_DOWN +#define ZX_LEFT BUTTON_LEFT +#define ZX_RIGHT BUTTON_RIGHT +#define ZX_SELECT BUTTON_SELECT +#define ZX_MENU BUTTON_MENU + #elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD #define ZX_RIGHT BUTTON_RIGHT diff --git a/apps/plugins/zxbox/zxbox_keyb.c b/apps/plugins/zxbox/zxbox_keyb.c index 33d44512a7..b1abab3d90 100644 --- a/apps/plugins/zxbox/zxbox_keyb.c +++ b/apps/plugins/zxbox/zxbox_keyb.c @@ -90,6 +90,15 @@ #define KBD_UP BUTTON_UP #define KBD_DOWN BUTTON_DOWN +#elif CONFIG_KEYPAD == GIGABEAT_S_PAD + +#define KBD_SELECT BUTTON_SELECT +#define KBD_ABORT BUTTON_POWER +#define KBD_LEFT BUTTON_LEFT +#define KBD_RIGHT BUTTON_RIGHT +#define KBD_UP BUTTON_UP +#define KBD_DOWN BUTTON_DOWN + #elif CONFIG_KEYPAD == IRIVER_H10_PAD /* TODO: Check keyboard mappings */ |