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/calendar.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/calendar.c')
-rw-r--r-- | apps/plugins/calendar.c | 26 |
1 files changed, 2 insertions, 24 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c index 11a37191af..7e2472ffc9 100644 --- a/apps/plugins/calendar.c +++ b/apps/plugins/calendar.c | |||
@@ -25,30 +25,8 @@ | |||
25 | #include "lib/playback_control.h" | 25 | #include "lib/playback_control.h" |
26 | #include "lib/configfile.h" | 26 | #include "lib/configfile.h" |
27 | 27 | ||
28 | 28 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | |
29 | 29 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | |
30 | #if CONFIG_KEYPAD == RECORDER_PAD | ||
31 | #define CALENDAR_QUIT BUTTON_OFF | ||
32 | #define CALENDAR_SELECT BUTTON_PLAY | ||
33 | #define CALENDAR_NEXT_WEEK BUTTON_DOWN | ||
34 | #define CALENDAR_PREV_WEEK BUTTON_UP | ||
35 | #define CALENDAR_NEXT_DAY BUTTON_RIGHT | ||
36 | #define CALENDAR_PREV_DAY BUTTON_LEFT | ||
37 | #define CALENDAR_NEXT_MONTH (BUTTON_ON|BUTTON_DOWN) | ||
38 | #define CALENDAR_PREV_MONTH (BUTTON_ON|BUTTON_UP) | ||
39 | |||
40 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
41 | #define CALENDAR_QUIT BUTTON_OFF | ||
42 | #define CALENDAR_SELECT (BUTTON_MENU|BUTTON_REL) | ||
43 | #define CALENDAR_NEXT_WEEK BUTTON_DOWN | ||
44 | #define CALENDAR_PREV_WEEK BUTTON_UP | ||
45 | #define CALENDAR_NEXT_DAY BUTTON_RIGHT | ||
46 | #define CALENDAR_PREV_DAY BUTTON_LEFT | ||
47 | #define CALENDAR_NEXT_MONTH (BUTTON_MENU|BUTTON_DOWN) | ||
48 | #define CALENDAR_PREV_MONTH (BUTTON_MENU|BUTTON_UP) | ||
49 | |||
50 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
51 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
52 | #define CALENDAR_QUIT BUTTON_OFF | 30 | #define CALENDAR_QUIT BUTTON_OFF |
53 | #define CALENDAR_SELECT BUTTON_SELECT | 31 | #define CALENDAR_SELECT BUTTON_SELECT |
54 | #define CALENDAR_NEXT_WEEK BUTTON_DOWN | 32 | #define CALENDAR_NEXT_WEEK BUTTON_DOWN |