diff options
-rw-r--r-- | apps/plugins/beatbox/beatbox.c | 18 | ||||
-rw-r--r-- | apps/plugins/chessbox/chessbox_pgn.h | 10 | ||||
-rw-r--r-- | apps/plugins/cube.c | 10 | ||||
-rw-r--r-- | apps/plugins/lib/pluginlib_actions.c | 6 | ||||
-rw-r--r-- | apps/plugins/pacbox/pacbox.h | 11 | ||||
-rw-r--r-- | apps/plugins/superdom.c | 8 |
6 files changed, 61 insertions, 2 deletions
diff --git a/apps/plugins/beatbox/beatbox.c b/apps/plugins/beatbox/beatbox.c index 34c72570e3..b09464ab14 100644 --- a/apps/plugins/beatbox/beatbox.c +++ b/apps/plugins/beatbox/beatbox.c | |||
@@ -81,6 +81,24 @@ | |||
81 | #define BTN_UP BUTTON_SCROLL_UP | 81 | #define BTN_UP BUTTON_SCROLL_UP |
82 | #define BTN_DOWN BUTTON_SCROLL_DOWN | 82 | #define BTN_DOWN BUTTON_SCROLL_DOWN |
83 | 83 | ||
84 | #elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD | ||
85 | #define BTN_QUIT BUTTON_POWER | ||
86 | #define BTN_RIGHT BUTTON_RIGHT | ||
87 | #define BTN_UP BUTTON_UP | ||
88 | #define BTN_DOWN BUTTON_DOWN | ||
89 | |||
90 | #elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD | ||
91 | #define BTN_QUIT BUTTON_POWER | ||
92 | #define BTN_RIGHT BUTTON_NEXT | ||
93 | #define BTN_UP BUTTON_UP | ||
94 | #define BTN_DOWN BUTTON_DOWN | ||
95 | |||
96 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | ||
97 | #define BTN_QUIT BUTTON_POWER | ||
98 | #define BTN_RIGHT BUTTON_NEXT | ||
99 | #define BTN_UP BUTTON_UP | ||
100 | #define BTN_DOWN BUTTON_DOWN | ||
101 | |||
84 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD | 102 | #elif CONFIG_KEYPAD == SAMSUNG_YH_PAD |
85 | #define BTN_QUIT BUTTON_PLAY | 103 | #define BTN_QUIT BUTTON_PLAY |
86 | #define BTN_RIGHT BUTTON_RIGHT | 104 | #define BTN_RIGHT BUTTON_RIGHT |
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h index 2ae27e901f..df90151522 100644 --- a/apps/plugins/chessbox/chessbox_pgn.h +++ b/apps/plugins/chessbox/chessbox_pgn.h | |||
@@ -323,6 +323,16 @@ | |||
323 | #define CB_LEVEL BUTTON_PLAYLIST | 323 | #define CB_LEVEL BUTTON_PLAYLIST |
324 | #define CB_MENU BUTTON_MENU | 324 | #define CB_MENU BUTTON_MENU |
325 | 325 | ||
326 | #elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD | ||
327 | #define CB_SELECT BUTTON_PLAY | ||
328 | #define CB_UP BUTTON_UP | ||
329 | #define CB_DOWN BUTTON_DOWN | ||
330 | #define CB_LEFT BUTTON_PREV | ||
331 | #define CB_RIGHT BUTTON_NEXT | ||
332 | #define CB_PLAY BUTTON_RIGHT | ||
333 | #define CB_LEVEL BUTTON_LEFT | ||
334 | #define CB_MENU BUTTON_MENU | ||
335 | |||
326 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | 336 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD |
327 | #define CB_SELECT BUTTON_PLAY | 337 | #define CB_SELECT BUTTON_PLAY |
328 | #define CB_UP BUTTON_UP | 338 | #define CB_UP BUTTON_UP |
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index 3fafab05b8..0555bc5e37 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c | |||
@@ -244,6 +244,16 @@ | |||
244 | #define CUBE_PAUSE BUTTON_SELECT | 244 | #define CUBE_PAUSE BUTTON_SELECT |
245 | #define CUBE_HIGHSPEED BUTTON_VIEW | 245 | #define CUBE_HIGHSPEED BUTTON_VIEW |
246 | 246 | ||
247 | #elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD | ||
248 | #define CUBE_QUIT BUTTON_POWER | ||
249 | #define CUBE_NEXT BUTTON_NEXT | ||
250 | #define CUBE_PREV BUTTON_PREV | ||
251 | #define CUBE_INC BUTTON_UP | ||
252 | #define CUBE_DEC BUTTON_DOWN | ||
253 | #define CUBE_MODE BUTTON_MENU | ||
254 | #define CUBE_PAUSE BUTTON_PLAY | ||
255 | #define CUBE_HIGHSPEED BUTTON_RIGHT | ||
256 | |||
247 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | 257 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD |
248 | #define CUBE_QUIT BUTTON_POWER | 258 | #define CUBE_QUIT BUTTON_POWER |
249 | #define CUBE_NEXT BUTTON_NEXT | 259 | #define CUBE_NEXT BUTTON_NEXT |
diff --git a/apps/plugins/lib/pluginlib_actions.c b/apps/plugins/lib/pluginlib_actions.c index ee052c5060..0d95bc8d87 100644 --- a/apps/plugins/lib/pluginlib_actions.c +++ b/apps/plugins/lib/pluginlib_actions.c | |||
@@ -163,7 +163,8 @@ const struct button_mapping pla_main_ctx[] = | |||
163 | { PLA_DOWN_REPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE }, | 163 | { PLA_DOWN_REPEAT, BUTTON_VOL_DOWN|BUTTON_REPEAT, BUTTON_NONE }, |
164 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, | 164 | { PLA_LEFT_REPEAT, BUTTON_LEFT|BUTTON_REPEAT, BUTTON_NONE }, |
165 | { PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, | 165 | { PLA_RIGHT_REPEAT, BUTTON_RIGHT|BUTTON_REPEAT, BUTTON_NONE }, |
166 | #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | 166 | #elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) \ |
167 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | ||
167 | { PLA_UP, BUTTON_UP, BUTTON_NONE }, | 168 | { PLA_UP, BUTTON_UP, BUTTON_NONE }, |
168 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE }, | 169 | { PLA_DOWN, BUTTON_DOWN, BUTTON_NONE }, |
169 | { PLA_LEFT, BUTTON_PREV, BUTTON_NONE }, | 170 | { PLA_LEFT, BUTTON_PREV, BUTTON_NONE }, |
@@ -322,7 +323,8 @@ const struct button_mapping pla_main_ctx[] = | |||
322 | {PLA_SELECT, BUTTON_RC_MODE, BUTTON_NONE}, | 323 | {PLA_SELECT, BUTTON_RC_MODE, BUTTON_NONE}, |
323 | {PLA_SELECT_REL, BUTTON_RC_MODE|BUTTON_REL, BUTTON_RC_MODE}, | 324 | {PLA_SELECT_REL, BUTTON_RC_MODE|BUTTON_REL, BUTTON_RC_MODE}, |
324 | {PLA_SELECT_REPEAT, BUTTON_RC_MODE|BUTTON_REPEAT, BUTTON_NONE}, | 325 | {PLA_SELECT_REPEAT, BUTTON_RC_MODE|BUTTON_REPEAT, BUTTON_NONE}, |
325 | #elif (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | 326 | #elif (CONFIG_KEYPAD == PHILIPS_HDD6330_PAD) \ |
327 | || (CONFIG_KEYPAD == PHILIPS_SA9200_PAD) | ||
326 | {PLA_EXIT, BUTTON_POWER, BUTTON_NONE}, | 328 | {PLA_EXIT, BUTTON_POWER, BUTTON_NONE}, |
327 | {PLA_CANCEL, BUTTON_MENU, BUTTON_NONE}, | 329 | {PLA_CANCEL, BUTTON_MENU, BUTTON_NONE}, |
328 | {PLA_SELECT, BUTTON_PLAY, BUTTON_NONE}, | 330 | {PLA_SELECT, BUTTON_PLAY, BUTTON_NONE}, |
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h index f4cc738b02..a15aef7a10 100644 --- a/apps/plugins/pacbox/pacbox.h +++ b/apps/plugins/pacbox/pacbox.h | |||
@@ -192,6 +192,17 @@ | |||
192 | #define PACMAN_COIN BUTTON_VIEW | 192 | #define PACMAN_COIN BUTTON_VIEW |
193 | #define PACMAN_MENU BUTTON_MENU | 193 | #define PACMAN_MENU BUTTON_MENU |
194 | 194 | ||
195 | #elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD | ||
196 | |||
197 | #define PACMAN_UP BUTTON_NEXT | ||
198 | #define PACMAN_DOWN BUTTON_PREV | ||
199 | #define PACMAN_LEFT BUTTON_UP | ||
200 | #define PACMAN_RIGHT BUTTON_DOWN | ||
201 | #define PACMAN_1UP BUTTON_VOL_UP | ||
202 | #define PACMAN_2UP BUTTON_DOWN | ||
203 | #define PACMAN_COIN BUTTON_RIGHT | ||
204 | #define PACMAN_MENU BUTTON_MENU | ||
205 | |||
195 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | 206 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD |
196 | 207 | ||
197 | #define PACMAN_UP BUTTON_UP | 208 | #define PACMAN_UP BUTTON_UP |
diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index ad54c565b2..f4cefdfa4e 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c | |||
@@ -139,6 +139,14 @@ char buf[255]; | |||
139 | #define SUPERDOM_RIGHT BUTTON_RIGHT | 139 | #define SUPERDOM_RIGHT BUTTON_RIGHT |
140 | #define SUPERDOM_CANCEL BUTTON_BACK | 140 | #define SUPERDOM_CANCEL BUTTON_BACK |
141 | 141 | ||
142 | #elif CONFIG_KEYPAD == PHILIPS_HDD6330_PAD | ||
143 | #define SUPERDOM_OK BUTTON_PLAY | ||
144 | #define SUPERDOM_UP BUTTON_UP | ||
145 | #define SUPERDOM_DOWN BUTTON_DOWN | ||
146 | #define SUPERDOM_LEFT BUTTON_PREV | ||
147 | #define SUPERDOM_RIGHT BUTTON_NEXT | ||
148 | #define SUPERDOM_CANCEL BUTTON_LEFT | ||
149 | |||
142 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD | 150 | #elif CONFIG_KEYPAD == PHILIPS_SA9200_PAD |
143 | #define SUPERDOM_OK BUTTON_PLAY | 151 | #define SUPERDOM_OK BUTTON_PLAY |
144 | #define SUPERDOM_UP BUTTON_UP | 152 | #define SUPERDOM_UP BUTTON_UP |