forked from len0rd/rockbox
Greyscale test plugin: Add missing button definitions for M5.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16073 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
d37c622630
commit
66ad9b1c08
1 changed files with 8 additions and 0 deletions
|
@ -54,6 +54,14 @@ PLUGIN_HEADER
|
|||
|
||||
#define GREYSCALE_RC_OFF BUTTON_RC_STOP
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
|
||||
#define GREYSCALE_SHIFT BUTTON_PLAY /* won't work, but define it anyway */
|
||||
#define GREYSCALE_UP BUTTON_UP
|
||||
#define GREYSCALE_DOWN BUTTON_DOWN
|
||||
#define GREYSCALE_LEFT BUTTON_LEFT
|
||||
#define GREYSCALE_RIGHT BUTTON_RIGHT
|
||||
#define GREYSCALE_OFF BUTTON_POWER
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||
#define GREYSCALE_SHIFT BUTTON_SELECT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue