summaryrefslogtreecommitdiffstats
path: root/apps/plugins/star.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-15 19:40:55 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-24 21:20:13 +0000
commit092c340a2062fa98b7387fc5fd63578ddae7d0b6 (patch)
tree98ec96946eeb2ae709cb0528cc6998e21bb9b290 /apps/plugins/star.c
parent17f7cc92c258bc456a27c3e7c5a19c9409851879 (diff)
downloadrockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.gz
rockbox-092c340a2062fa98b7387fc5fd63578ddae7d0b6.tar.bz2
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/star.c')
-rw-r--r--apps/plugins/star.c38
1 files changed, 2 insertions, 36 deletions
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index 5814cc8cab..ea1d5b8bf8 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -57,42 +57,8 @@
#define STAR_CONTROL_BLOCK 1
/* variable button definitions */
-#if CONFIG_KEYPAD == RECORDER_PAD
-#define STAR_QUIT BUTTON_OFF
-#define STAR_LEFT BUTTON_LEFT
-#define STAR_RIGHT BUTTON_RIGHT
-#define STAR_UP BUTTON_UP
-#define STAR_DOWN BUTTON_DOWN
-#define STAR_TOGGLE_CONTROL BUTTON_ON
-#define STAR_TOGGLE_CONTROL2 BUTTON_PLAY
-#define STAR_LEVEL_UP BUTTON_F3
-#define STAR_LEVEL_DOWN BUTTON_F1
-#define STAR_LEVEL_REPEAT BUTTON_F2
-#define STAR_TOGGLE_CONTROL_NAME "ON"
-#define STAR_QUIT_NAME "OFF"
-#define STAR_LEVEL_UP_NAME "F3"
-#define STAR_LEVEL_DOWN_NAME "F1"
-#define STAR_LEVEL_REPEAT_NAME "F2"
-
-#elif CONFIG_KEYPAD == ONDIO_PAD
-#define STAR_QUIT BUTTON_OFF
-#define STAR_LEFT BUTTON_LEFT
-#define STAR_RIGHT BUTTON_RIGHT
-#define STAR_UP BUTTON_UP
-#define STAR_DOWN BUTTON_DOWN
-#define STAR_TOGGLE_CONTROL_PRE BUTTON_MENU
-#define STAR_TOGGLE_CONTROL (BUTTON_MENU | BUTTON_REL)
-#define STAR_LEVEL_UP (BUTTON_MENU | BUTTON_RIGHT)
-#define STAR_LEVEL_DOWN (BUTTON_MENU | BUTTON_LEFT)
-#define STAR_LEVEL_REPEAT (BUTTON_MENU | BUTTON_UP)
-#define STAR_TOGGLE_CONTROL_NAME "MODE"
-#define STAR_QUIT_NAME "OFF"
-#define STAR_LEVEL_UP_NAME "M >"
-#define STAR_LEVEL_DOWN_NAME "M <"
-#define STAR_LEVEL_REPEAT_NAME "M ^"
-
-#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
- (CONFIG_KEYPAD == IRIVER_H300_PAD)
+#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+ (CONFIG_KEYPAD == IRIVER_H300_PAD)
#define STAR_QUIT BUTTON_OFF
#define STAR_LEFT BUTTON_LEFT
#define STAR_RIGHT BUTTON_RIGHT