summaryrefslogtreecommitdiff
path: root/apps/plugins/calculator.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r--apps/plugins/calculator.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c
index a5c4277528..0a91d94619 100644
--- a/apps/plugins/calculator.c
+++ b/apps/plugins/calculator.c
@@ -261,6 +261,19 @@ PLUGIN_HEADER
#define CALCULATOR_QUIT BUTTON_POWER
#define CALCULATOR_CLEAR BUTTON_MENU
+#elif CONFIG_KEYPAD == IAUDIO67_PAD
+
+#define CALCULATOR_LEFT BUTTON_LEFT
+#define CALCULATOR_RIGHT BUTTON_RIGHT
+#define CALCULATOR_UP BUTTON_VOLUP
+#define CALCULATOR_DOWN BUTTON_VOLDOWN
+#define CALCULATOR_QUIT BUTTON_POWER
+#define CALCULATOR_INPUT BUTTON_PLAY
+#define CALCULATOR_CALC BUTTON_MENU
+#define CALCULATOR_CLEAR BUTTON_STOP
+
+#define CALCULATOR_RC_QUIT (BUTTON_MENU|BUTTON_PLAY)
+
#else
#error No keymap defined!
#endif