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/minesweeper.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/minesweeper.c')
-rw-r--r-- | apps/plugins/minesweeper.c | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/apps/plugins/minesweeper.c b/apps/plugins/minesweeper.c index 4e875979ab..01659dbfd2 100644 --- a/apps/plugins/minesweeper.c +++ b/apps/plugins/minesweeper.c | |||
@@ -34,31 +34,8 @@ enum minesweeper_status { | |||
34 | }; | 34 | }; |
35 | 35 | ||
36 | /* variable button definitions */ | 36 | /* variable button definitions */ |
37 | #if CONFIG_KEYPAD == RECORDER_PAD | 37 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
38 | # define MINESWP_LEFT BUTTON_LEFT | 38 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
39 | # define MINESWP_RIGHT BUTTON_RIGHT | ||
40 | # define MINESWP_UP BUTTON_UP | ||
41 | # define MINESWP_DOWN BUTTON_DOWN | ||
42 | # define MINESWP_QUIT BUTTON_OFF | ||
43 | # define MINESWP_TOGGLE BUTTON_ON | ||
44 | # define MINESWP_TOGGLE2 BUTTON_F1 | ||
45 | # define MINESWP_DISCOVER BUTTON_PLAY | ||
46 | # define MINESWP_DISCOVER2 BUTTON_F2 | ||
47 | # define MINESWP_INFO BUTTON_F3 | ||
48 | |||
49 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
50 | # define MINESWP_LEFT BUTTON_LEFT | ||
51 | # define MINESWP_RIGHT BUTTON_RIGHT | ||
52 | # define MINESWP_UP BUTTON_UP | ||
53 | # define MINESWP_DOWN BUTTON_DOWN | ||
54 | # define MINESWP_QUIT BUTTON_OFF | ||
55 | # define MINESWP_TOGGLE_PRE BUTTON_MENU | ||
56 | # define MINESWP_TOGGLE (BUTTON_MENU | BUTTON_REL) | ||
57 | # define MINESWP_DISCOVER (BUTTON_MENU | BUTTON_REPEAT) | ||
58 | # define MINESWP_INFO (BUTTON_MENU | BUTTON_OFF) | ||
59 | |||
60 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
62 | # define MINESWP_LEFT BUTTON_LEFT | 39 | # define MINESWP_LEFT BUTTON_LEFT |
63 | # define MINESWP_RIGHT BUTTON_RIGHT | 40 | # define MINESWP_RIGHT BUTTON_RIGHT |
64 | # define MINESWP_UP BUTTON_UP | 41 | # define MINESWP_UP BUTTON_UP |