summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/chessbox/chessbox_pgn.h6
-rw-r--r--apps/plugins/doom/i_video.c7
-rw-r--r--apps/plugins/flipit.c4
-rw-r--r--apps/plugins/goban/goban.h5
-rw-r--r--apps/plugins/midi/midiplay.c2
-rw-r--r--apps/plugins/pacbox/pacbox.h6
-rw-r--r--apps/plugins/pictureflow/pictureflow.c3
-rw-r--r--apps/plugins/rockblox.c6
-rw-r--r--apps/plugins/rockboy/rockboy.c8
-rw-r--r--apps/plugins/sokoban.c4
-rw-r--r--apps/plugins/solitaire.c14
-rw-r--r--apps/plugins/star.c16
-rw-r--r--apps/plugins/vu_meter.c2
-rw-r--r--apps/plugins/wormlet.c2
-rw-r--r--apps/plugins/xobox.c4
15 files changed, 40 insertions, 49 deletions
diff --git a/apps/plugins/chessbox/chessbox_pgn.h b/apps/plugins/chessbox/chessbox_pgn.h
index df6a01c891..2d28c1d85a 100644
--- a/apps/plugins/chessbox/chessbox_pgn.h
+++ b/apps/plugins/chessbox/chessbox_pgn.h
@@ -368,14 +368,14 @@
368 368
369#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ 369#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \
370 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) 370 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD)
371#define CB_SELECT (BUTTON_FFWD|BUTTON_RIGHT) 371#define CB_SELECT BUTTON_FFWD
372#define CB_UP BUTTON_UP 372#define CB_UP BUTTON_UP
373#define CB_DOWN BUTTON_DOWN 373#define CB_DOWN BUTTON_DOWN
374#define CB_LEFT BUTTON_LEFT 374#define CB_LEFT BUTTON_LEFT
375#define CB_RIGHT BUTTON_RIGHT 375#define CB_RIGHT BUTTON_RIGHT
376#define CB_PLAY BUTTON_PLAY 376#define CB_PLAY BUTTON_PLAY
377#define CB_LEVEL (BUTTON_FFWD|BUTTON_UP) 377#define CB_LEVEL (BUTTON_REW|BUTTON_RIGHT)
378#define CB_MENU (BUTTON_FFWD|BUTTON_LEFT) 378#define CB_MENU (BUTTON_REW|BUTTON_LEFT)
379 379
380#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 380#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
381#define CB_SELECT BUTTON_OK 381#define CB_SELECT BUTTON_OK
diff --git a/apps/plugins/doom/i_video.c b/apps/plugins/doom/i_video.c
index 11aa712d33..7ec768f1d3 100644
--- a/apps/plugins/doom/i_video.c
+++ b/apps/plugins/doom/i_video.c
@@ -402,11 +402,10 @@ void I_ShutdownGraphics(void)
402#define DOOMBUTTON_LEFT BUTTON_LEFT 402#define DOOMBUTTON_LEFT BUTTON_LEFT
403#define DOOMBUTTON_RIGHT BUTTON_RIGHT 403#define DOOMBUTTON_RIGHT BUTTON_RIGHT
404#define DOOMBUTTON_SHOOT BUTTON_PLAY 404#define DOOMBUTTON_SHOOT BUTTON_PLAY
405#define DOOMBUTTON_OPEN (BUTTON_PLAY|BUTTON_LEFT) 405#define DOOMBUTTON_OPEN BUTTON_REW
406#define DOOMBUTTON_ESC BUTTON_REC 406#define DOOMBUTTON_ESC BUTTON_REC
407#define DOOMBUTTON_ENTER (BUTTON_PLAY|BUTTON_RIGHT) 407#define DOOMBUTTON_ENTER BUTTON_FFWD
408#define DOOMBUTTON_WEAPON (BUTTON_PLAY|BUTTON_UP) 408#define DOOMBUTTON_WEAPON BUTTON_FFWD
409#define DOOMBUTTON_MAP (BUTTON_PLAY|BUTTON_DOWN)
410 409
411#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 410#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
412#define DOOMBUTTON_UP BUTTON_OK 411#define DOOMBUTTON_UP BUTTON_OK
diff --git a/apps/plugins/flipit.c b/apps/plugins/flipit.c
index d3dc98aa54..834dea3bf3 100644
--- a/apps/plugins/flipit.c
+++ b/apps/plugins/flipit.c
@@ -354,8 +354,8 @@
354#define FLIPIT_QUIT BUTTON_REC 354#define FLIPIT_QUIT BUTTON_REC
355#define FLIPIT_SHUFFLE BUTTON_PLAY 355#define FLIPIT_SHUFFLE BUTTON_PLAY
356#define FLIPIT_SOLVE BUTTON_FFWD 356#define FLIPIT_SOLVE BUTTON_FFWD
357#define FLIPIT_STEP_BY_STEP (BUTTON_PLAY|BUTTON_UP) 357#define FLIPIT_STEP_BY_STEP (BUTTON_FFWD|BUTTON_UP)
358#define FLIPIT_TOGGLE (BUTTON_PLAY|BUTTON_DOWN) 358#define FLIPIT_TOGGLE BUTTON_REW
359 359
360#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 360#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
361 361
diff --git a/apps/plugins/goban/goban.h b/apps/plugins/goban/goban.h
index 531b137556..75196a5d15 100644
--- a/apps/plugins/goban/goban.h
+++ b/apps/plugins/goban/goban.h
@@ -327,12 +327,9 @@
327#define GBN_BUTTON_RETREAT BUTTON_REW 327#define GBN_BUTTON_RETREAT BUTTON_REW
328#define GBN_BUTTON_ADVANCE BUTTON_FFWD 328#define GBN_BUTTON_ADVANCE BUTTON_FFWD
329#define GBN_BUTTON_MENU BUTTON_PLAY | BUTTON_LEFT 329#define GBN_BUTTON_MENU BUTTON_PLAY | BUTTON_LEFT
330#define GBN_BUTTON_PLAY BUTTON_PLAY | BUTTON_RIGHT 330#define GBN_BUTTON_PLAY BUTTON_PLAY
331#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_DOWN 331#define GBN_BUTTON_CONTEXT BUTTON_PLAY | BUTTON_DOWN
332#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY | BUTTON_UP 332#define GBN_BUTTON_NEXT_VAR BUTTON_PLAY | BUTTON_UP
333/* No context */
334/* No advance/retreat */
335/* no next var */
336 333
337#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD) 334#elif (CONFIG_KEYPAD == PBELL_VIBE500_PAD)
338#define GBN_BUTTON_UP BUTTON_UP 335#define GBN_BUTTON_UP BUTTON_UP
diff --git a/apps/plugins/midi/midiplay.c b/apps/plugins/midi/midiplay.c
index 2f4a698fad..5d3c5f63e8 100644
--- a/apps/plugins/midi/midiplay.c
+++ b/apps/plugins/midi/midiplay.c
@@ -195,7 +195,7 @@
195 195
196#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ 196#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \
197 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) 197 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD)
198#define BTN_QUIT BUTTON_REW 198#define BTN_QUIT BUTTON_REC
199#define BTN_RIGHT BUTTON_RIGHT 199#define BTN_RIGHT BUTTON_RIGHT
200#define BTN_LEFT BUTTON_LEFT 200#define BTN_LEFT BUTTON_LEFT
201#define BTN_UP BUTTON_UP 201#define BTN_UP BUTTON_UP
diff --git a/apps/plugins/pacbox/pacbox.h b/apps/plugins/pacbox/pacbox.h
index 5da7a8b099..34de08f86b 100644
--- a/apps/plugins/pacbox/pacbox.h
+++ b/apps/plugins/pacbox/pacbox.h
@@ -239,10 +239,10 @@
239#define PACMAN_DOWN BUTTON_DOWN 239#define PACMAN_DOWN BUTTON_DOWN
240#define PACMAN_LEFT BUTTON_LEFT 240#define PACMAN_LEFT BUTTON_LEFT
241#define PACMAN_RIGHT BUTTON_RIGHT 241#define PACMAN_RIGHT BUTTON_RIGHT
242#define PACMAN_1UP BUTTON_REC 242#define PACMAN_1UP BUTTON_FFWD
243#define PACMAN_2UP BUTTON_REW 243#define PACMAN_2UP BUTTON_REW
244#define PACMAN_COIN BUTTON_FFWD 244#define PACMAN_COIN BUTTON_PLAY
245#define PACMAN_MENU BUTTON_PLAY 245#define PACMAN_MENU BUTTON_REC
246 246
247#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 247#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
248 248
diff --git a/apps/plugins/pictureflow/pictureflow.c b/apps/plugins/pictureflow/pictureflow.c
index 1003b0c65c..53fede1c2c 100644
--- a/apps/plugins/pictureflow/pictureflow.c
+++ b/apps/plugins/pictureflow/pictureflow.c
@@ -154,7 +154,8 @@ const struct button_mapping pf_context_buttons[] =
154#elif CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD || \ 154#elif CONFIG_KEYPAD == IRIVER_H100_PAD || CONFIG_KEYPAD == IRIVER_H300_PAD || \
155 CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == ONDIO_PAD 155 CONFIG_KEYPAD == RECORDER_PAD || CONFIG_KEYPAD == ONDIO_PAD
156 {PF_QUIT, BUTTON_OFF, BUTTON_NONE}, 156 {PF_QUIT, BUTTON_OFF, BUTTON_NONE},
157#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 157#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD || CONFIG_KEYPAD == SAMSUNG_YH820_PAD || \
158 CONFIG_KEYPAD == SAMSUNG_YH920_PAD
158 {PF_QUIT, BUTTON_REC, BUTTON_NONE}, 159 {PF_QUIT, BUTTON_REC, BUTTON_NONE},
159#endif 160#endif
160#if CONFIG_KEYPAD == IAUDIO_M3_PAD 161#if CONFIG_KEYPAD == IAUDIO_M3_PAD
diff --git a/apps/plugins/rockblox.c b/apps/plugins/rockblox.c
index 906fe357b8..268a386474 100644
--- a/apps/plugins/rockblox.c
+++ b/apps/plugins/rockblox.c
@@ -331,14 +331,14 @@
331#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \ 331#elif (CONFIG_KEYPAD == SAMSUNG_YH820_PAD) || \
332 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) 332 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD)
333 333
334#define ROCKBLOX_OFF (BUTTON_REC|BUTTON_PLAY) 334#define ROCKBLOX_OFF BUTTON_REC
335#define ROCKBLOX_ROTATE_CCW BUTTON_UP 335#define ROCKBLOX_ROTATE_CCW BUTTON_UP
336#define ROCKBLOX_ROTATE_CW BUTTON_DOWN 336#define ROCKBLOX_ROTATE_CW BUTTON_DOWN
337#define ROCKBLOX_DOWN BUTTON_REW 337#define ROCKBLOX_DOWN BUTTON_REW
338#define ROCKBLOX_LEFT BUTTON_LEFT 338#define ROCKBLOX_LEFT BUTTON_LEFT
339#define ROCKBLOX_RIGHT BUTTON_RIGHT 339#define ROCKBLOX_RIGHT BUTTON_RIGHT
340#define ROCKBLOX_DROP BUTTON_FFWD 340#define ROCKBLOX_DROP BUTTON_PLAY
341#define ROCKBLOX_RESTART (BUTTON_REC|BUTTON_REW) 341#define ROCKBLOX_RESTART BUTTON_FFWD
342 342
343#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 343#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
344 344
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index 12feabb8e1..f5ea623d31 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -301,10 +301,10 @@ static void setoptions (void)
301 options.DOWN = BUTTON_DOWN; 301 options.DOWN = BUTTON_DOWN;
302 302
303 options.A = BUTTON_PLAY; 303 options.A = BUTTON_PLAY;
304 options.B = BUTTON_REW; 304 options.B = BUTTON_FFWD;
305 options.START = BUTTON_REC; 305 options.START = BUTTON_REW;
306 options.SELECT = BUTTON_FFWD; 306 options.SELECT = BUTTON_NONE;
307 options.MENU = BUTTON_NONE; 307 options.MENU = BUTTON_REC;
308 308
309#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 309#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
310 options.UP = BUTTON_OK; 310 options.UP = BUTTON_OK;
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index f3c4f9c8f6..70bc57e218 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -481,8 +481,8 @@
481#define SOKOBAN_UP BUTTON_UP 481#define SOKOBAN_UP BUTTON_UP
482#define SOKOBAN_DOWN BUTTON_DOWN 482#define SOKOBAN_DOWN BUTTON_DOWN
483#define SOKOBAN_MENU BUTTON_REC 483#define SOKOBAN_MENU BUTTON_REC
484#define SOKOBAN_UNDO_PRE BUTTON_REW 484#define SOKOBAN_UNDO BUTTON_REW
485#define SOKOBAN_UNDO (BUTTON_REW | BUTTON_LEFT) 485#define SOKOBAN_UNDO_PRE (BUTTON_REW | BUTTON_LEFT)
486#define SOKOBAN_REDO BUTTON_FFWD 486#define SOKOBAN_REDO BUTTON_FFWD
487#define SOKOBAN_LEVEL_DOWN (BUTTON_PLAY | BUTTON_DOWN) 487#define SOKOBAN_LEVEL_DOWN (BUTTON_PLAY | BUTTON_DOWN)
488#define SOKOBAN_LEVEL_REPEAT (BUTTON_PLAY | BUTTON_RIGHT) 488#define SOKOBAN_LEVEL_REPEAT (BUTTON_PLAY | BUTTON_RIGHT)
diff --git a/apps/plugins/solitaire.c b/apps/plugins/solitaire.c
index 541b42de42..d71847120b 100644
--- a/apps/plugins/solitaire.c
+++ b/apps/plugins/solitaire.c
@@ -457,17 +457,13 @@ CONFIG_KEYPAD == MROBE500_PAD
457# define SOL_QUIT BUTTON_REC 457# define SOL_QUIT BUTTON_REC
458# define SOL_UP BUTTON_UP 458# define SOL_UP BUTTON_UP
459# define SOL_DOWN BUTTON_DOWN 459# define SOL_DOWN BUTTON_DOWN
460# define SOL_LEFT_PRE BUTTON_LEFT 460# define SOL_LEFT BUTTON_LEFT
461# define SOL_LEFT (BUTTON_LEFT | BUTTON_REW) 461# define SOL_RIGHT BUTTON_RIGHT
462# define SOL_RIGHT_PRE BUTTON_RIGHT
463# define SOL_RIGHT (BUTTON_RIGHT | BUTTON_REW)
464# define SOL_MOVE BUTTON_PLAY 462# define SOL_MOVE BUTTON_PLAY
465# define SOL_DRAW_PRE (BUTTON_PLAY | BUTTON_RIGHT) 463# define SOL_DRAW BUTTON_FFWD
466# define SOL_DRAW (BUTTON_PLAY | BUTTON_LEFT) 464# define SOL_REM2CUR (BUTTON_FFWD | BUTTON_LEFT)
467# define SOL_REM2CUR BUTTON_FFWD
468# define SOL_CUR2STACK BUTTON_REW 465# define SOL_CUR2STACK BUTTON_REW
469# define SOL_REM2STACK_PRE (BUTTON_FFWD | BUTTON_RIGHT) 466# define SOL_REM2STACK (BUTTON_REW | BUTTON_LEFT)
470# define SOL_REM2STACK (BUTTON_FFWD | BUTTON_LEFT)
471# define HK_MOVE "PLAY" 467# define HK_MOVE "PLAY"
472# define HK_DRAW "REW.." 468# define HK_DRAW "REW.."
473# define HK_REM2CUR "FFWD" 469# define HK_REM2CUR "FFWD"
diff --git a/apps/plugins/star.c b/apps/plugins/star.c
index a1367e9044..3cb27790c6 100644
--- a/apps/plugins/star.c
+++ b/apps/plugins/star.c
@@ -399,17 +399,15 @@
399#define STAR_RIGHT BUTTON_RIGHT 399#define STAR_RIGHT BUTTON_RIGHT
400#define STAR_UP BUTTON_UP 400#define STAR_UP BUTTON_UP
401#define STAR_DOWN BUTTON_DOWN 401#define STAR_DOWN BUTTON_DOWN
402#define STAR_LEVEL_UP_PRE (BUTTON_FFWD|BUTTON_UP) 402#define STAR_LEVEL_UP BUTTON_FFWD
403#define STAR_LEVEL_UP (BUTTON_REW|BUTTON_UP) 403#define STAR_LEVEL_DOWN BUTTON_REW
404#define STAR_LEVEL_DOWN_PRE (BUTTON_FFWD|BUTTON_DOWN) 404#define STAR_TOGGLE_CONTROL BUTTON_PLAY
405#define STAR_LEVEL_DOWN (BUTTON_REW|BUTTON_DOWN) 405#define STAR_LEVEL_REPEAT (BUTTON_REW|BUTTON_FFWD)
406#define STAR_TOGGLE_CONTROL (BUTTON_PLAY|BUTTON_UP)
407#define STAR_LEVEL_REPEAT (BUTTON_PLAY|BUTTON_DOWN)
408#define STAR_TOGGLE_CONTROL_NAME "PLAY" 406#define STAR_TOGGLE_CONTROL_NAME "PLAY"
409#define STAR_QUIT_NAME "REC" 407#define STAR_QUIT_NAME "REC"
410#define STAR_LEVEL_UP_NAME "UP" 408#define STAR_LEVEL_UP_NAME "FF"
411#define STAR_LEVEL_DOWN_NAME "DOWN" 409#define STAR_LEVEL_DOWN_NAME "REW"
412#define STAR_LEVEL_REPEAT_NAME "PLAY" 410#define STAR_LEVEL_REPEAT_NAME "REW+FF"
413 411
414#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 412#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
415 413
diff --git a/apps/plugins/vu_meter.c b/apps/plugins/vu_meter.c
index 43a7b917a9..8a9c35b1ff 100644
--- a/apps/plugins/vu_meter.c
+++ b/apps/plugins/vu_meter.c
@@ -287,7 +287,7 @@
287 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD) 287 (CONFIG_KEYPAD == SAMSUNG_YH920_PAD)
288#define VUMETER_QUIT BUTTON_REC 288#define VUMETER_QUIT BUTTON_REC
289#define VUMETER_HELP BUTTON_PLAY 289#define VUMETER_HELP BUTTON_PLAY
290#define VUMETER_MENU BUTTON_LEFT 290#define VUMETER_MENU BUTTON_REW
291#define VUMETER_UP BUTTON_UP 291#define VUMETER_UP BUTTON_UP
292#define VUMETER_DOWN BUTTON_DOWN 292#define VUMETER_DOWN BUTTON_DOWN
293#define LABEL_HELP "PLAY" 293#define LABEL_HELP "PLAY"
diff --git a/apps/plugins/wormlet.c b/apps/plugins/wormlet.c
index 26b97c7748..6d5cf4b0df 100644
--- a/apps/plugins/wormlet.c
+++ b/apps/plugins/wormlet.c
@@ -279,7 +279,7 @@ CONFIG_KEYPAD == MROBE500_PAD
279#define BTN_DIR_LEFT BUTTON_LEFT 279#define BTN_DIR_LEFT BUTTON_LEFT
280#define BTN_DIR_RIGHT BUTTON_RIGHT 280#define BTN_DIR_RIGHT BUTTON_RIGHT
281#define BTN_STARTPAUSE BUTTON_PLAY 281#define BTN_STARTPAUSE BUTTON_PLAY
282#define BTN_QUIT BUTTON_FFWD 282#define BTN_QUIT BUTTON_REC
283#define BTN_STOPRESET BUTTON_REW 283#define BTN_STOPRESET BUTTON_REW
284 284
285#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 285#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c
index f3ed96f282..68c32726c0 100644
--- a/apps/plugins/xobox.c
+++ b/apps/plugins/xobox.c
@@ -235,12 +235,12 @@ CONFIG_KEYPAD == MROBE500_PAD
235#elif CONFIG_KEYPAD == SAMSUNG_YH820_PAD || \ 235#elif CONFIG_KEYPAD == SAMSUNG_YH820_PAD || \
236 CONFIG_KEYPAD == SAMSUNG_YH920_PAD 236 CONFIG_KEYPAD == SAMSUNG_YH920_PAD
237 237
238#define QUIT BUTTON_PLAY 238#define QUIT BUTTON_REC
239#define LEFT BUTTON_LEFT 239#define LEFT BUTTON_LEFT
240#define RIGHT BUTTON_RIGHT 240#define RIGHT BUTTON_RIGHT
241#define UP BUTTON_UP 241#define UP BUTTON_UP
242#define DOWN BUTTON_DOWN 242#define DOWN BUTTON_DOWN
243#define PAUSE BUTTON_FFWD 243#define PAUSE BUTTON_PLAY
244 244
245#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD 245#elif CONFIG_KEYPAD == PBELL_VIBE500_PAD
246 246