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/wormlet.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/wormlet.c')
-rw-r--r-- | apps/plugins/wormlet.c | 32 |
1 files changed, 2 insertions, 30 deletions
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c index a8447c9952..b18cdc21f8 100644 --- a/apps/plugins/wormlet.c +++ b/apps/plugins/wormlet.c | |||
@@ -46,36 +46,8 @@ static long max_cycle; | |||
46 | when a new argh is made */ | 46 | when a new argh is made */ |
47 | #define MIN_ARGH_DIST 5 | 47 | #define MIN_ARGH_DIST 5 |
48 | 48 | ||
49 | #if (CONFIG_KEYPAD == RECORDER_PAD) | 49 | #if (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ |
50 | #define BTN_DIR_UP BUTTON_UP | 50 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) |
51 | #define BTN_DIR_DOWN BUTTON_DOWN | ||
52 | #define BTN_DIR_LEFT BUTTON_LEFT | ||
53 | #define BTN_DIR_RIGHT BUTTON_RIGHT | ||
54 | #define BTN_PLAYER2_DIR1 BUTTON_F2 | ||
55 | #define BTN_PLAYER2_DIR2 BUTTON_F3 | ||
56 | #define BTN_STARTPAUSE BUTTON_PLAY | ||
57 | #define BTN_QUIT BUTTON_OFF | ||
58 | #define BTN_STOPRESET BUTTON_ON | ||
59 | #define BTN_TOGGLE_KEYS BUTTON_F1 | ||
60 | |||
61 | #if BUTTON_REMOTE != 0 | ||
62 | #define BTN_RC_UP BUTTON_RC_VOL_UP | ||
63 | #define BTN_RC_DOWN BUTTON_RC_VOL_DOWN | ||
64 | #define REMOTE | ||
65 | #define MULTIPLAYER | ||
66 | #endif | ||
67 | |||
68 | #elif (CONFIG_KEYPAD == ONDIO_PAD) | ||
69 | #define BTN_DIR_UP BUTTON_UP | ||
70 | #define BTN_DIR_DOWN BUTTON_DOWN | ||
71 | #define BTN_DIR_LEFT BUTTON_LEFT | ||
72 | #define BTN_DIR_RIGHT BUTTON_RIGHT | ||
73 | #define BTN_STARTPAUSE (BUTTON_MENU|BUTTON_REL) | ||
74 | #define BTN_QUIT (BUTTON_OFF|BUTTON_REL) | ||
75 | #define BTN_STOPRESET (BUTTON_OFF|BUTTON_MENU) | ||
76 | |||
77 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ | ||
78 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) | ||
79 | 51 | ||
80 | #define BTN_DIR_UP BUTTON_MENU | 52 | #define BTN_DIR_UP BUTTON_MENU |
81 | #define BTN_DIR_DOWN BUTTON_PLAY | 53 | #define BTN_DIR_DOWN BUTTON_PLAY |