summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-02 01:56:39 +0000
commite626dcba4079f3e3bacf7128e6a645d087b506c5 (patch)
treefdb2568f3bb9614b55846c5bc63ad8ac8f52a9ed /apps/plugins/calculator.c
parent6ea0c3f2298c161c138f6a23418b0c7ddd5dfb77 (diff)
downloadrockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.gz
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.tar.bz2
rockbox-e626dcba4079f3e3bacf7128e6a645d087b506c5.zip
Start committing plugin keymaps for the Philips GoGear SA9200.
I still have more plugins to finish, but this is an initial start and I can at least get them under version control in case I need to revise any. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23813 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 a14748f409..93bed2adcb 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -330,6 +330,17 @@ PLUGIN_HEADER
#define CALCULATOR_CALC BUTTON_MENU
#define CALCULATOR_CLEAR BUTTON_VIEW
+#elif CONFIG_KEYPAD == PHILIPS_SA9200_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 == ONDAVX747_PAD)
#define CALCULATOR_QUIT BUTTON_POWER