diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-15 19:40:55 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch) | |
tree | 98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/plugins/calculator.c | |
parent | 17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff) | |
download | rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.zip |
[1/4] Remove SH support and all archos targets
This removes all code specific to SH targets
Change-Id: I7980523785d2596e65c06430f4638eec74a06061
Diffstat (limited to 'apps/plugins/calculator.c')
-rw-r--r-- | apps/plugins/calculator.c | 25 |
1 files changed, 2 insertions, 23 deletions
diff --git a/apps/plugins/calculator.c b/apps/plugins/calculator.c index d3cf57536d..ac5a6ed7cd 100644 --- a/apps/plugins/calculator.c +++ b/apps/plugins/calculator.c | |||
@@ -110,29 +110,8 @@ F3: equal to "=" | |||
110 | #endif | 110 | #endif |
111 | 111 | ||
112 | /* variable button definitions */ | 112 | /* variable button definitions */ |
113 | #if CONFIG_KEYPAD == RECORDER_PAD | 113 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
114 | #define CALCULATOR_LEFT BUTTON_LEFT | 114 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
115 | #define CALCULATOR_RIGHT BUTTON_RIGHT | ||
116 | #define CALCULATOR_UP BUTTON_UP | ||
117 | #define CALCULATOR_DOWN BUTTON_DOWN | ||
118 | #define CALCULATOR_QUIT BUTTON_OFF | ||
119 | #define CALCULATOR_INPUT BUTTON_PLAY | ||
120 | #define CALCULATOR_CALC BUTTON_F3 | ||
121 | #define CALCULATOR_OPERATORS BUTTON_F2 | ||
122 | #define CALCULATOR_CLEAR BUTTON_F1 | ||
123 | |||
124 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
125 | #define CALCULATOR_LEFT BUTTON_LEFT | ||
126 | #define CALCULATOR_RIGHT BUTTON_RIGHT | ||
127 | #define CALCULATOR_UP BUTTON_UP | ||
128 | #define CALCULATOR_DOWN BUTTON_DOWN | ||
129 | #define CALCULATOR_QUIT BUTTON_OFF | ||
130 | #define CALCULATOR_INPUT_CALC_PRE BUTTON_MENU | ||
131 | #define CALCULATOR_INPUT (BUTTON_MENU | BUTTON_REL) | ||
132 | #define CALCULATOR_CALC (BUTTON_MENU | BUTTON_REPEAT) | ||
133 | |||
134 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
135 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
136 | #define CALCULATOR_LEFT BUTTON_LEFT | 115 | #define CALCULATOR_LEFT BUTTON_LEFT |
137 | #define CALCULATOR_RIGHT BUTTON_RIGHT | 116 | #define CALCULATOR_RIGHT BUTTON_RIGHT |
138 | #define CALCULATOR_UP BUTTON_UP | 117 | #define CALCULATOR_UP BUTTON_UP |