mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Complete Plugin Keymaps for Creative Zen X-Fi3
This patch completes the plugin keymaps for the Zen X-Fi3 and enables those plugins for compilation. One key was changed in "button-target.h" for compatibility with Rockboy. This also caused the changes to "keymap-zenxfi3.c", to keep the stock functionality (no further changes in here). Change-Id: Ic222faf89e9a9a2332a49d6e532cedb6eb16d3d7 Reviewed-on: http://gerrit.rockbox.org/762 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
This commit is contained in:
parent
8375b691e6
commit
d489444119
53 changed files with 505 additions and 13 deletions
|
|
@ -150,6 +150,14 @@
|
|||
#define ZX_SELECT BUTTON_SELECT
|
||||
#define ZX_MENU BUTTON_MENU
|
||||
|
||||
#elif CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD
|
||||
#define ZX_UP BUTTON_UP
|
||||
#define ZX_DOWN BUTTON_DOWN
|
||||
#define ZX_LEFT BUTTON_BACK
|
||||
#define ZX_RIGHT BUTTON_MENU
|
||||
#define ZX_SELECT (BUTTON_PLAY|BUTTON_REL)
|
||||
#define ZX_MENU (BUTTON_PLAY|BUTTON_REPEAT)
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
|
||||
|
||||
#define ZX_UP BUTTON_UP
|
||||
|
|
|
|||
|
|
@ -161,6 +161,15 @@
|
|||
#define KBD_UP BUTTON_UP
|
||||
#define KBD_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == CREATIVE_ZENXFI3_PAD
|
||||
|
||||
#define KBD_SELECT (BUTTON_PLAY|BUTTON_REL)
|
||||
#define KBD_ABORT (BUTTON_PLAY|BUTTON_REPEAT)
|
||||
#define KBD_LEFT BUTTON_BACK
|
||||
#define KBD_RIGHT BUTTON_MENU
|
||||
#define KBD_UP BUTTON_UP
|
||||
#define KBD_DOWN BUTTON_DOWN
|
||||
|
||||
#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD
|
||||
|
||||
#define KBD_SELECT BUTTON_MENU
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue