summaryrefslogtreecommitdiffstats
path: root/apps/plugins/cube.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/cube.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/cube.c')
-rw-r--r--apps/plugins/cube.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c
index 0f51e44e5c..4cd314a035 100644
--- a/apps/plugins/cube.c
+++ b/apps/plugins/cube.c
@@ -37,39 +37,7 @@
#define DISP_TIME 30
/* variable button definitions */
-#if CONFIG_KEYPAD == RECORDER_PAD
-#define CUBE_QUIT BUTTON_OFF
-#define CUBE_NEXT BUTTON_RIGHT
-#define CUBE_PREV BUTTON_LEFT
-#define CUBE_INC BUTTON_UP
-#define CUBE_DEC BUTTON_DOWN
-#define CUBE_MODE BUTTON_F1
-#define CUBE_PAUSE BUTTON_PLAY
-#define CUBE_HIGHSPEED BUTTON_ON
-
-#elif CONFIG_KEYPAD == PLAYER_PAD
-#define CUBE_QUIT BUTTON_STOP
-#define CUBE_INC BUTTON_RIGHT
-#define CUBE_DEC BUTTON_LEFT
-#define CUBE_NEXT (BUTTON_ON | BUTTON_RIGHT)
-#define CUBE_PREV (BUTTON_ON | BUTTON_LEFT)
-#define CUBE_MODE BUTTON_MENU
-#define CUBE_PAUSE BUTTON_PLAY
-#define CUBE_HIGHSPEED_PRE BUTTON_ON
-#define CUBE_HIGHSPEED (BUTTON_ON | BUTTON_REL)
-
-#elif CONFIG_KEYPAD == ONDIO_PAD
-#define CUBE_QUIT BUTTON_OFF
-#define CUBE_NEXT BUTTON_RIGHT
-#define CUBE_PREV BUTTON_LEFT
-#define CUBE_INC BUTTON_UP
-#define CUBE_DEC BUTTON_DOWN
-#define CUBE_MODE_PRE BUTTON_MENU
-#define CUBE_MODE (BUTTON_MENU | BUTTON_REL)
-#define CUBE_PAUSE (BUTTON_MENU | BUTTON_LEFT)
-#define CUBE_HIGHSPEED (BUTTON_MENU | BUTTON_RIGHT)
-
-#elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
+#if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \
(CONFIG_KEYPAD == IRIVER_H300_PAD)
#define CUBE_QUIT BUTTON_OFF
#define CUBE_NEXT BUTTON_RIGHT