diff options
author | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2006-01-18 11:09:06 +0000 |
commit | cedba8830fd015e9a61b7a772927fefe565f7b41 (patch) | |
tree | e33e1b1ff14904098534a7e78d71ba672fcb78e0 /apps/plugins/calculator.c | |
parent | 205be712fe6ad03f194216bc0f936f1b5917eafd (diff) |
Matt v.d. Westhuizen's iAudio X5 keypad adjustments
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8366 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r-- | apps/plugins/calculator.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index ba18cc1c55..2584062fd7 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c @@ -143,6 +143,16 @@ PLUGIN_HEADER #define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL) #define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT) +#elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) + +#define CALCULATOR_UP BUTTON_UP +#define CALCULATOR_DOWN BUTTON_DOWN +#define CALCULATOR_QUIT BUTTON_POWER +#define CALCULATOR_INPUT_CALC_PRE BUTTON_MENU +#define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) +#define CALCULATOR_CALC BUTTON_PLAY +#define CALCULATOR_CLEAR BUTTON_REC + #endif static struct plugin_api* rb; |