diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-02-04 12:41:09 +0000 |
commit | 6700ad8f206d0beba92e22680504ae6ba2b7d74c (patch) | |
tree | 1eba76a3a966d2a38e1819157917918b7721ff0b /apps/plugins/calculator.c | |
parent | 3fcfdffe88025a943f9c72f7b86363dc08edaecd (diff) | |
download | rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.tar.gz rockbox-6700ad8f206d0beba92e22680504ae6ba2b7d74c.zip |
adapted to build on iRiver
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5784 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r-- | apps/plugins/calculator.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index 193ac8a7ce..a8349f4c06 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -118,6 +118,12 @@ F3: equal to "=" | |||
118 | #define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) | 118 | #define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) |
119 | #define CALCULATOR_CALC (BUTTON_MENU | BUTTON_REPEAT) | 119 | #define CALCULATOR_CALC (BUTTON_MENU | BUTTON_REPEAT) |
120 | 120 | ||
121 | #elif CONFIG_KEYPAD == IRIVER_H100_PAD | ||
122 | #define CALCULATOR_QUIT BUTTON_OFF | ||
123 | #define CALCULATOR_INPUT_CALC_PRE BUTTON_SELECT | ||
124 | #define CALCULATOR_INPUT (BUTTON_ON | BUTTON_REL) | ||
125 | #define CALCULATOR_CALC (BUTTON_ON | BUTTON_REPEAT) | ||
126 | |||
121 | #endif | 127 | #endif |
122 | 128 | ||
123 | static struct plugin_api* rb; | 129 | static struct plugin_api* rb; |