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/sliding_puzzle.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/sliding_puzzle.c')
-rw-r--r-- | apps/plugins/sliding_puzzle.c | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/apps/plugins/sliding_puzzle.c b/apps/plugins/sliding_puzzle.c index ad856b8ab2..1a77eda721 100644 --- a/apps/plugins/sliding_puzzle.c +++ b/apps/plugins/sliding_puzzle.c | |||
@@ -21,26 +21,7 @@ | |||
21 | #include "plugin.h" | 21 | #include "plugin.h" |
22 | 22 | ||
23 | /* variable button definitions */ | 23 | /* variable button definitions */ |
24 | #if CONFIG_KEYPAD == RECORDER_PAD | 24 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
25 | #define PUZZLE_QUIT BUTTON_OFF | ||
26 | #define PUZZLE_LEFT BUTTON_LEFT | ||
27 | #define PUZZLE_RIGHT BUTTON_RIGHT | ||
28 | #define PUZZLE_UP BUTTON_UP | ||
29 | #define PUZZLE_DOWN BUTTON_DOWN | ||
30 | #define PUZZLE_SHUFFLE BUTTON_F1 | ||
31 | #define PUZZLE_PICTURE BUTTON_F2 | ||
32 | |||
33 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
34 | #define PUZZLE_QUIT BUTTON_OFF | ||
35 | #define PUZZLE_LEFT BUTTON_LEFT | ||
36 | #define PUZZLE_RIGHT BUTTON_RIGHT | ||
37 | #define PUZZLE_UP BUTTON_UP | ||
38 | #define PUZZLE_DOWN BUTTON_DOWN | ||
39 | #define PUZZLE_SHUFFLE_PICTURE_PRE BUTTON_MENU | ||
40 | #define PUZZLE_SHUFFLE (BUTTON_MENU | BUTTON_REPEAT) | ||
41 | #define PUZZLE_PICTURE (BUTTON_MENU | BUTTON_REL) | ||
42 | |||
43 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
44 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 25 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
45 | #define PUZZLE_QUIT BUTTON_OFF | 26 | #define PUZZLE_QUIT BUTTON_OFF |
46 | #define PUZZLE_LEFT BUTTON_LEFT | 27 | #define PUZZLE_LEFT BUTTON_LEFT |
@@ -853,15 +834,7 @@ enum plugin_status plugin_start( | |||
853 | /* print instructions */ | 834 | /* print instructions */ |
854 | rb->lcd_clear_display(); | 835 | rb->lcd_clear_display(); |
855 | rb->lcd_setfont(FONT_SYSFIXED); | 836 | rb->lcd_setfont(FONT_SYSFIXED); |
856 | #if CONFIG_KEYPAD == RECORDER_PAD | 837 | #if (CONFIG_KEYPAD == IPOD_4G_PAD) || \ |
857 | rb->lcd_putsxy(3, 18, "[OFF] to stop"); | ||
858 | rb->lcd_putsxy(3, 28, "[F1] shuffle"); | ||
859 | rb->lcd_putsxy(3, 38, "[F2] change pic"); | ||
860 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
861 | rb->lcd_putsxy(0, 18, "[OFF] to stop"); | ||
862 | rb->lcd_putsxy(0, 28, "[MODE..] shuffle"); | ||
863 | rb->lcd_putsxy(0, 38, "[MODE] change pic"); | ||
864 | #elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ | ||
865 | (CONFIG_KEYPAD == IPOD_3G_PAD) || \ | 838 | (CONFIG_KEYPAD == IPOD_3G_PAD) || \ |
866 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) | 839 | (CONFIG_KEYPAD == IPOD_1G2G_PAD) |
867 | rb->lcd_putsxy(0, 18, "[S-MENU] to stop"); | 840 | rb->lcd_putsxy(0, 18, "[S-MENU] to stop"); |