forked from len0rd/rockbox
Add remote control support to tree and menu. Move defines from wps.c to wps.h
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6692 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
097444d07c
commit
c19e0f0d02
6 changed files with 151 additions and 113 deletions
15
apps/menu.h
15
apps/menu.h
|
|
@ -31,6 +31,11 @@
|
|||
#define MENU_ENTER BUTTON_RIGHT
|
||||
#define MENU_ENTER2 BUTTON_SELECT
|
||||
|
||||
#define MENU_RC_NEXT BUTTON_RC_FF
|
||||
#define MENU_RC_PREV BUTTON_RC_REW
|
||||
#define MENU_RC_EXIT BUTTON_RC_STOP
|
||||
#define MENU_RC_ENTER BUTTON_RC_ON
|
||||
|
||||
#elif CONFIG_KEYPAD == RECORDER_PAD
|
||||
#define MENU_NEXT BUTTON_DOWN
|
||||
#define MENU_PREV BUTTON_UP
|
||||
|
|
@ -40,6 +45,11 @@
|
|||
#define MENU_ENTER BUTTON_RIGHT
|
||||
#define MENU_ENTER2 BUTTON_PLAY
|
||||
|
||||
#define MENU_RC_NEXT BUTTON_RC_RIGHT
|
||||
#define MENU_RC_PREV BUTTON_RC_LEFT
|
||||
#define MENU_RC_EXIT BUTTON_RC_STOP
|
||||
#define MENU_RC_ENTER BUTTON_RC_PLAY
|
||||
|
||||
#elif CONFIG_KEYPAD == PLAYER_PAD
|
||||
#define MENU_NEXT BUTTON_RIGHT
|
||||
#define MENU_PREV BUTTON_LEFT
|
||||
|
|
@ -47,6 +57,11 @@
|
|||
#define MENU_EXIT2 BUTTON_MENU
|
||||
#define MENU_ENTER BUTTON_PLAY
|
||||
|
||||
#define MENU_RC_NEXT BUTTON_RC_RIGHT
|
||||
#define MENU_RC_PREV BUTTON_RC_LEFT
|
||||
#define MENU_RC_EXIT BUTTON_RC_STOP
|
||||
#define MENU_RC_ENTER BUTTON_RC_PLAY
|
||||
|
||||
#elif CONFIG_KEYPAD == ONDIO_PAD
|
||||
#define MENU_NEXT BUTTON_DOWN
|
||||
#define MENU_PREV BUTTON_UP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue