summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-12-05 10:09:07 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-12-05 10:09:07 +0000
commit1775d4f4380e81c5e2410d0012d1cabc19543ee9 (patch)
tree5388581e7a07486a1ac20c795f107109432cd495 /apps/plugins/rockboy
parent2c154219f6d0d6aff2dc76c64acdf1c7f1131537 (diff)
add gigabeat button defines
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11663 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/menu.c5
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c3
2 files changed, 2 insertions, 6 deletions
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index 8dffaa0f43..5f7f6b73c8 100644
--- a/apps/plugins/rockboy/menu.c
+++ b/apps/plugins/rockboy/menu.c
@@ -13,11 +13,6 @@
#define MENU_BUTTON_DOWN BUTTON_SCROLL_FWD
#define MENU_BUTTON_LEFT BUTTON_LEFT
#define MENU_BUTTON_RIGHT BUTTON_RIGHT
-#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
-#define MENU_BUTTON_UP BUTTON_UP
-#define MENU_BUTTON_DOWN BUTTON_DOWN
-#define MENU_BUTTON_LEFT BUTTON_LEFT
-#define MENU_BUTTON_RIGHT BUTTON_RIGHT
#else
#define MENU_BUTTON_UP BUTTON_UP
#define MENU_BUTTON_DOWN BUTTON_DOWN
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index cd931c41a7..431fe130a0 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -180,7 +180,8 @@ void ev_poll(void)
#endif
#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD) || \
- (CONFIG_KEYPAD == IPOD_4G_PAD)
+ (CONFIG_KEYPAD == IPOD_4G_PAD) || \
+ (CONFIG_KEYPAD == GIGABEAT_PAD)
#ifdef HAVE_WHEEL_POSITION
rb->wheel_send_events(true);
#endif