summaryrefslogtreecommitdiffstats
path: root/apps/plugins/dice.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
committerDaniel Stenberg <daniel@haxx.se>2006-08-03 20:17:25 +0000
commit1e88be518adafe146704a506aad7f895fffbb240 (patch)
tree59de8c14bcec054d32b82890f73391301ad152aa /apps/plugins/dice.c
parent364e892050c5d03895d27ad290180f7a82d0ecbf (diff)
downloadrockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.gz
rockbox-1e88be518adafe146704a506aad7f895fffbb240.tar.bz2
rockbox-1e88be518adafe146704a506aad7f895fffbb240.zip
Barry Wardell's keymappings for H10
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10446 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/dice.c')
-rw-r--r--apps/plugins/dice.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/plugins/dice.c b/apps/plugins/dice.c
index c20b3853a8..8351498aad 100644
--- a/apps/plugins/dice.c
+++ b/apps/plugins/dice.c
@@ -125,6 +125,15 @@ use stop to exit
#define DICE_BUTTON_ON BUTTON_POWER
#define DICE_BUTTON_OFF BUTTON_A
+#elif (CONFIG_KEYPAD == IRIVER_H10_PAD)
+#define DICE_BUTTON_UP BUTTON_SCROLL_UP
+#define DICE_BUTTON_DOWN BUTTON_SCROLL_DOWN
+#define DICE_BUTTON_LEFT BUTTON_LEFT
+#define DICE_BUTTON_RIGHT BUTTON_RIGHT
+#define DICE_BUTTON_SELECT BUTTON_REW
+#define DICE_BUTTON_ON BUTTON_PLAY
+#define DICE_BUTTON_OFF BUTTON_POWER
+
#else
#error DICE: Unsupported keypad
#endif