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