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/solitaire.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/solitaire.c')
-rw-r--r-- | apps/plugins/solitaire.c | 47 |
1 files changed, 2 insertions, 45 deletions
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c index b830edf857..a7844fba92 100644 --- a/apps/plugins/solitaire.c +++ b/apps/plugins/solitaire.c | |||
@@ -32,51 +32,8 @@ | |||
32 | * Key definitions | 32 | * Key definitions |
33 | */ | 33 | */ |
34 | 34 | ||
35 | #if CONFIG_KEYPAD == RECORDER_PAD | 35 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
36 | # define SOL_QUIT BUTTON_OFF | 36 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
37 | # define SOL_UP BUTTON_UP | ||
38 | # define SOL_DOWN BUTTON_DOWN | ||
39 | # define SOL_LEFT BUTTON_LEFT | ||
40 | # define SOL_RIGHT BUTTON_RIGHT | ||
41 | # define SOL_MOVE BUTTON_ON | ||
42 | # define SOL_DRAW BUTTON_F1 | ||
43 | # define SOL_REM2CUR BUTTON_PLAY | ||
44 | # define SOL_CUR2STACK BUTTON_F2 | ||
45 | # define SOL_REM2STACK BUTTON_F3 | ||
46 | # define HK_MOVE "ON" | ||
47 | # define HK_DRAW "F1" | ||
48 | # define HK_REM2CUR "PLAY" | ||
49 | # define HK_CUR2STACK "F2" | ||
50 | # define HK_REM2STACK "F3" | ||
51 | |||
52 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
53 | # define SOL_QUIT BUTTON_OFF | ||
54 | # define SOL_UP_PRE BUTTON_UP | ||
55 | # define SOL_UP (BUTTON_UP | BUTTON_REL) | ||
56 | # define SOL_DOWN_PRE BUTTON_DOWN | ||
57 | # define SOL_DOWN (BUTTON_DOWN | BUTTON_REL) | ||
58 | # define SOL_LEFT_PRE BUTTON_LEFT | ||
59 | # define SOL_LEFT (BUTTON_LEFT | BUTTON_REL) | ||
60 | # define SOL_RIGHT_PRE BUTTON_RIGHT | ||
61 | # define SOL_RIGHT (BUTTON_RIGHT | BUTTON_REL) | ||
62 | # define SOL_MOVE_PRE BUTTON_MENU | ||
63 | # define SOL_MOVE (BUTTON_MENU | BUTTON_REL) | ||
64 | # define SOL_DRAW_PRE BUTTON_MENU | ||
65 | # define SOL_DRAW (BUTTON_MENU | BUTTON_REPEAT) | ||
66 | # define SOL_REM2CUR_PRE BUTTON_DOWN | ||
67 | # define SOL_REM2CUR (BUTTON_DOWN | BUTTON_REPEAT) | ||
68 | # define SOL_CUR2STACK_PRE BUTTON_UP | ||
69 | # define SOL_CUR2STACK (BUTTON_UP | BUTTON_REPEAT) | ||
70 | # define SOL_REM2STACK_PRE BUTTON_RIGHT | ||
71 | # define SOL_REM2STACK (BUTTON_RIGHT | BUTTON_REPEAT) | ||
72 | # define HK_MOVE "MODE" | ||
73 | # define HK_DRAW "MODE.." | ||
74 | # define HK_REM2CUR "DOWN.." | ||
75 | # define HK_CUR2STACK "UP.." | ||
76 | # define HK_REM2STACK "RIGHT.." | ||
77 | |||
78 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | ||
79 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | ||
80 | # define SOL_QUIT BUTTON_OFF | 37 | # define SOL_QUIT BUTTON_OFF |
81 | # define SOL_UP BUTTON_UP | 38 | # define SOL_UP BUTTON_UP |
82 | # define SOL_DOWN BUTTON_DOWN | 39 | # define SOL_DOWN BUTTON_DOWN |