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/text_viewer/tv_button.h | |
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/text_viewer/tv_button.h')
-rw-r--r-- | apps/plugins/text_viewer/tv_button.h | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/apps/plugins/text_viewer/tv_button.h b/apps/plugins/text_viewer/tv_button.h index acf7519b69..4f7634e844 100644 --- a/apps/plugins/text_viewer/tv_button.h +++ b/apps/plugins/text_viewer/tv_button.h | |||
@@ -44,46 +44,8 @@ | |||
44 | * TV_COLUMN_RIGHT one column right | 44 | * TV_COLUMN_RIGHT one column right |
45 | */ | 45 | */ |
46 | 46 | ||
47 | /* Recorder keys */ | ||
48 | #if CONFIG_KEYPAD == RECORDER_PAD | ||
49 | #define TV_QUIT BUTTON_OFF | ||
50 | #define TV_SCROLL_UP BUTTON_UP | ||
51 | #define TV_SCROLL_DOWN BUTTON_DOWN | ||
52 | #define TV_SCREEN_LEFT BUTTON_LEFT | ||
53 | #define TV_SCREEN_RIGHT BUTTON_RIGHT | ||
54 | #define TV_MENU BUTTON_F1 | ||
55 | #define TV_AUTOSCROLL BUTTON_PLAY | ||
56 | #define TV_LINE_UP (BUTTON_ON | BUTTON_UP) | ||
57 | #define TV_LINE_DOWN (BUTTON_ON | BUTTON_DOWN) | ||
58 | #define TV_COLUMN_LEFT (BUTTON_ON | BUTTON_LEFT) | ||
59 | #define TV_COLUMN_RIGHT (BUTTON_ON | BUTTON_RIGHT) | ||
60 | #define TV_BOOKMARK BUTTON_F2 | ||
61 | |||
62 | /* Ondio keys */ | ||
63 | #elif CONFIG_KEYPAD == ONDIO_PAD | ||
64 | #define TV_QUIT BUTTON_OFF | ||
65 | #define TV_SCROLL_UP BUTTON_UP | ||
66 | #define TV_SCROLL_DOWN BUTTON_DOWN | ||
67 | #define TV_SCREEN_LEFT BUTTON_LEFT | ||
68 | #define TV_SCREEN_RIGHT BUTTON_RIGHT | ||
69 | #define TV_MENU (BUTTON_MENU|BUTTON_REPEAT) | ||
70 | #define TV_AUTOSCROLL_PRE BUTTON_MENU | ||
71 | #define TV_AUTOSCROLL (BUTTON_MENU|BUTTON_REL) | ||
72 | #define TV_BOOKMARK (BUTTON_MENU|BUTTON_OFF) | ||
73 | |||
74 | /* Player keys */ | ||
75 | #elif CONFIG_KEYPAD == PLAYER_PAD | ||
76 | #define TV_QUIT BUTTON_STOP | ||
77 | #define TV_SCROLL_UP BUTTON_LEFT | ||
78 | #define TV_SCROLL_DOWN BUTTON_RIGHT | ||
79 | #define TV_SCREEN_LEFT (BUTTON_ON|BUTTON_LEFT) | ||
80 | #define TV_SCREEN_RIGHT (BUTTON_ON|BUTTON_RIGHT) | ||
81 | #define TV_MENU BUTTON_MENU | ||
82 | #define TV_AUTOSCROLL BUTTON_PLAY | ||
83 | #define TV_BOOKMARK BUTTON_ON | ||
84 | |||
85 | /* iRiver H1x0 && H3x0 keys */ | 47 | /* iRiver H1x0 && H3x0 keys */ |
86 | #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ | 48 | #if (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ |
87 | (CONFIG_KEYPAD == IRIVER_H300_PAD) | 49 | (CONFIG_KEYPAD == IRIVER_H300_PAD) |
88 | #define TV_QUIT BUTTON_OFF | 50 | #define TV_QUIT BUTTON_OFF |
89 | #define TV_RC_QUIT BUTTON_RC_STOP | 51 | #define TV_RC_QUIT BUTTON_RC_STOP |