summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
committerMarcin Bukat <marcin.bukat@gmail.com>2010-11-30 10:52:14 +0000
commitdd61702fb0a45167aeba3f3f183b794e47c30f6f (patch)
treebe2389872bfc1ca4106b4c717409fe17d582a6fe /apps/plugins/calculator.c
parentd2ebc534eaba1bcda0ba50250c8c3f6cadfd4ed9 (diff)
HD300 - plugins keymaps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28712 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 0507ce81d6..a5f14b44f8 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -398,6 +398,16 @@ F3: equal to "="
#define CALCULATOR_INPUT BUTTON_FUNC
#define CALCULATOR_CALC BUTTON_PLAY
+#elif CONFIG_KEYPAD == MPIO_HD300_PAD
+#define CALCULATOR_LEFT BUTTON_REW
+#define CALCULATOR_RIGHT BUTTON_FF
+#define CALCULATOR_UP BUTTON_UP
+#define CALCULATOR_DOWN BUTTON_DOWN
+#define CALCULATOR_QUIT (BUTTON_REC|BUTTON_REPEAT)
+#define CALCULATOR_INPUT BUTTON_ENTER
+#define CALCULATOR_CALC BUTTON_PLAY
+#define CALCULATOR_CLEAR BUTTON_MENU
+
#else
#error No keymap defined!
#endif