summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:05:08 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-10-02 16:05:08 +0000
commit5720c0b267db452217440456054914d4b9447f52 (patch)
treec1261672bdfe206d653e9b90976a79f245e23797 /apps/plugins/calculator.c
parente226babe09cdd3b26d1901240e1e3ffcfe40f314 (diff)
downloadrockbox-5720c0b267db452217440456054914d4b9447f52.tar.gz
rockbox-5720c0b267db452217440456054914d4b9447f52.tar.bz2
rockbox-5720c0b267db452217440456054914d4b9447f52.zip
fuze+: add calculator keymap
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30660 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 a5f14b44f8..67d629c1f2 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -408,6 +408,16 @@ F3: equal to "="
#define CALCULATOR_CALC BUTTON_PLAY
#define CALCULATOR_CLEAR BUTTON_MENU
+#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
+#define CALCULATOR_LEFT BUTTON_LEFT
+#define CALCULATOR_RIGHT BUTTON_RIGHT
+#define CALCULATOR_UP BUTTON_UP
+#define CALCULATOR_DOWN BUTTON_DOWN
+#define CALCULATOR_QUIT BUTTON_POWER
+#define CALCULATOR_INPUT BUTTON_SELECT
+#define CALCULATOR_CALC BUTTON_PLAY
+#define CALCULATOR_CLEAR BUTTON_BACK
+
#else
#error No keymap defined!
#endif