summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2010-11-02 03:29:16 +0000
committerRobert Menes <rmenes@rockbox.org>2010-11-02 03:29:16 +0000
commitf7bcb66e676df93ab3e5bbff5b71ed4200afaabb (patch)
tree5a35b8888a4443545c05289e71a671ae16ccbe64 /apps/plugins/calculator.c
parentaee59094dba8d9c13f16e7667298be74b9cd60cd (diff)
downloadrockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.tar.gz
rockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.tar.bz2
rockbox-f7bcb66e676df93ab3e5bbff5b71ed4200afaabb.zip
Begin committing keymap plugins for the Philips GoGear HDD6330.
Not all keymaps are completed, but I want to get some initial work I did under version control. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28442 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 148f149726..749c4af698 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -336,6 +336,17 @@ F3: equal to "="
#define CALCULATOR_CALC BUTTON_MENU
#define CALCULATOR_CLEAR BUTTON_VIEW
+#elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD
+
+#define CALCULATOR_LEFT BUTTON_PREV
+#define CALCULATOR_RIGHT BUTTON_NEXT
+#define CALCULATOR_UP BUTTON_UP
+#define CALCULATOR_DOWN BUTTON_DOWN
+#define CALCULATOR_QUIT BUTTON_POWER
+#define CALCULATOR_INPUT BUTTON_PLAY
+#define CALCULATOR_CALC BUTTON_MENU
+#define CALCULATOR_CLEAR BUTTON_RIGHT
+
#elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD
#define CALCULATOR_LEFT BUTTON_PREV