From 5720c0b267db452217440456054914d4b9447f52 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Sun, 2 Oct 2011 16:05:08 +0000 Subject: [PATCH] fuze+: add calculator keymap git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30660 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/calculator.c | 10 ++++++++++ 1 file changed, 10 insertions(+) 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