summaryrefslogtreecommitdiffstats
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
authorMarcin Bukat <marcin.bukat@gmail.com>2012-02-02 14:42:42 +0100
committerMarcin Bukat <marcin.bukat@gmail.com>2012-02-02 14:55:51 +0100
commit5863361fbfcef39c2b3d9a3b5520e7a770fa04cb (patch)
tree1ebff817c2bcb8558ae5253454b3043eda57997e /apps/plugins/calculator.c
parent3511435ee321b38c0d9d86d88d0c6e6a25a1c427 (diff)
downloadrockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.tar.gz
rockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.tar.bz2
rockbox-5863361fbfcef39c2b3d9a3b5520e7a770fa04cb.zip
MPIOs: keymap tweaks
Change-Id: Ic96900c83ffb90df4f6c68a26238f0543cba61cd
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index 77c7a5588d..b8d7d85e61 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -397,13 +397,14 @@ F3: equal to "="
#define CALCULATOR_QUIT (BUTTON_REC|BUTTON_PLAY)
#define CALCULATOR_INPUT BUTTON_FUNC
#define CALCULATOR_CALC BUTTON_PLAY
+#define CALCULATOR_CLEAR BUTTON_REC
#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_QUIT (BUTTON_MENU|BUTTON_REPEAT)
#define CALCULATOR_INPUT BUTTON_ENTER
#define CALCULATOR_CALC BUTTON_PLAY
#define CALCULATOR_CLEAR BUTTON_MENU