summaryrefslogtreecommitdiffstats
path: root/apps/plugins/dice.c
diff options
context:
space:
mode:
authorMarcoen Hirschberg <marcoen@gmail.com>2006-03-09 13:55:08 +0000
committerMarcoen Hirschberg <marcoen@gmail.com>2006-03-09 13:55:08 +0000
commite6955954ac1aafa3359366d591afc3580045b6cd (patch)
tree2d06ff6948fb0ffdee51c062d6264e1d269d474f /apps/plugins/dice.c
parent8fd0187e237b276190a1faa32088afce5b21c4cc (diff)
downloadrockbox-e6955954ac1aafa3359366d591afc3580045b6cd.tar.gz
rockbox-e6955954ac1aafa3359366d591afc3580045b6cd.tar.bz2
rockbox-e6955954ac1aafa3359366d591afc3580045b6cd.zip
add gigabeat keys
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8975 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/dice.c')
-rw-r--r--apps/plugins/dice.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c
index a343384acb..1ee0e2ac17 100644
--- a/apps/plugins/dice.c
+++ b/apps/plugins/dice.c
@@ -97,7 +97,6 @@ use stop to exit
#define DICE_BUTTON_OFF BUTTON_MENU
#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD)
-
#define DICE_BUTTON_UP BUTTON_UP
#define DICE_BUTTON_DOWN BUTTON_DOWN
#define DICE_BUTTON_LEFT BUTTON_LEFT
@@ -106,6 +105,15 @@ use stop to exit
#define DICE_BUTTON_ON BUTTON_PLAY
#define DICE_BUTTON_OFF BUTTON_POWER
+#elif (CONFIG_KEYPAD == GIGABEAT_PAD)
+#define DICE_BUTTON_UP BUTTON_UP
+#define DICE_BUTTON_DOWN BUTTON_DOWN
+#define DICE_BUTTON_LEFT BUTTON_LEFT
+#define DICE_BUTTON_RIGHT BUTTON_RIGHT
+#define DICE_BUTTON_SELECT BUTTON_SELECT
+#define DICE_BUTTON_ON BUTTON_POWER
+#define DICE_BUTTON_OFF BUTTON_A
+
#else
#error DICE: Unsupported keypad
#endif