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) | |
download | rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.tar.gz rockbox-cedba8830fd015e9a61b7a772927fefe565f7b41.zip |
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 | |||
143 | #define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL) | 143 | #define CALCULATOR_INPUT (BUTTON_SELECT | BUTTON_REL) |
144 | #define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT) | 144 | #define CALCULATOR_CALC (BUTTON_PLAY | BUTTON_REPEAT) |
145 | 145 | ||
146 | #elif (CONFIG_KEYPAD == IAUDIO_X5_PAD) | ||
147 | |||
148 | #define CALCULATOR_UP BUTTON_UP | ||
149 | #define CALCULATOR_DOWN BUTTON_DOWN | ||
150 | #define CALCULATOR_QUIT BUTTON_POWER | ||
151 | #define CALCULATOR_INPUT_CALC_PRE BUTTON_MENU | ||
152 | #define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) | ||
153 | #define CALCULATOR_CALC BUTTON_PLAY | ||
154 | #define CALCULATOR_CLEAR BUTTON_REC | ||
155 | |||
146 | #endif | 156 | #endif |
147 | 157 | ||
148 | static struct plugin_api* rb; | 158 | static struct plugin_api* rb; |