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/snake.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/snake.c')
-rw-r--r-- | apps/plugins/snake.c | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/apps/plugins/snake.c b/apps/plugins/snake.c index f60ddfe3de..4471cd12a6 100644 --- a/apps/plugins/snake.c +++ b/apps/plugins/snake.c | |||
@@ -41,24 +41,8 @@ dir is the current direction of the snake - 0=up, 1=right, 2=down, 3=left; | |||
41 | 41 | ||
42 | 42 | ||
43 | /* variable button definitions */ | 43 | /* variable button definitions */ |
44 | #if CONFIG_KEYPAD == RECORDER_PAD | 44 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
45 | #define SNAKE_QUIT BUTTON_OFF | 45 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
46 | #define SNAKE_LEFT BUTTON_LEFT | ||
47 | #define SNAKE_RIGHT BUTTON_RIGHT | ||
48 | #define SNAKE_UP BUTTON_UP | ||
49 | #define SNAKE_DOWN BUTTON_DOWN | ||
50 | #define SNAKE_PLAYPAUSE BUTTON_PLAY | ||
51 | |||
52 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
53 | #define SNAKE_QUIT BUTTON_OFF | ||
54 | #define SNAKE_LEFT BUTTON_LEFT | ||
55 | #define SNAKE_RIGHT BUTTON_RIGHT | ||
56 | #define SNAKE_UP BUTTON_UP | ||
57 | #define SNAKE_DOWN BUTTON_DOWN | ||
58 | #define SNAKE_PLAYPAUSE BUTTON_MENU | ||
59 | |||
60 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
61 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
62 | #define SNAKE_QUIT BUTTON_OFF | 46 | #define SNAKE_QUIT BUTTON_OFF |
63 | #define SNAKE_LEFT BUTTON_LEFT | 47 | #define SNAKE_LEFT BUTTON_LEFT |
64 | #define SNAKE_RIGHT BUTTON_RIGHT | 48 | #define SNAKE_RIGHT BUTTON_RIGHT |