Fix messed up zxbox keymaps. Fixes fuze+ red also.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31417 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e3bcb0e2db
commit
e6717d1b4d
2 changed files with 3 additions and 20 deletions
|
@ -35,7 +35,7 @@
|
|||
#define ZX_DOWN BUTTON_DOWN
|
||||
#define ZX_LEFT BUTTON_LEFT
|
||||
#define ZX_RIGHT BUTTON_RIGHT
|
||||
#define ZX_SELECT BUTTON_SELECT
|
||||
#define ZX_SELECT BUTTON_SELECT
|
||||
#define ZX_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
|
||||
|
@ -227,15 +227,6 @@
|
|||
#define ZX_LEFT BUTTON_LEFT
|
||||
#define ZX_RIGHT BUTTON_RIGHT
|
||||
|
||||
#elif CONFIG_KEYPAD == SAMSUNG_YPR0_PAD
|
||||
|
||||
#define ZX_MENU BUTTON_MENU
|
||||
#define ZX_UP BUTTON_UP
|
||||
#define ZX_DOWN BUTTON_DOWN
|
||||
#define ZX_SELECT BUTTON_CENTER
|
||||
#define ZX_LEFT BUTTON_LEFT
|
||||
#define ZX_RIGHT BUTTON_RIGHT
|
||||
|
||||
#else
|
||||
#error Keymap not defined!
|
||||
|
||||
|
|
|
@ -223,16 +223,8 @@
|
|||
#define KBD_UP BUTTON_UP
|
||||
#define KBD_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD
|
||||
|
||||
#define KBD_SELECT BUTTON_CENTER
|
||||
#define KBD_ABORT BUTTON_BACK
|
||||
#define KBD_LEFT BUTTON_LEFT
|
||||
#define KBD_RIGHT BUTTON_RIGHT
|
||||
#define KBD_UP BUTTON_UP
|
||||
#define KBD_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == SAMSUNG_YPR0_PAD
|
||||
#elif CONFIG_KEYPAD == SANSA_FUZEPLUS_PAD || \
|
||||
CONFIG_KEYPAD == SAMSUNG_YPR0_PAD
|
||||
|
||||
#define KBD_SELECT BUTTON_SELECT
|
||||
#define KBD_ABORT BUTTON_BACK
|
||||
|
|
Loading…
Reference in a new issue