mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Adapt most single-file plugins to the M3 keypad and screen. It's still preliminary, as many plugins now can't be left without the remote. The plugins need to be converted to use the action API (but not pluginlib actions). Plugins are not enabled yet. * Simplify the bitmap handling in the source of some plugins.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16737 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bca8edd856
commit
29361abf74
55 changed files with 820 additions and 196 deletions
|
@ -62,6 +62,7 @@ const unsigned char rockbox16x7[] = {
|
|||
#define LP_INC_X BUTTON_RIGHT
|
||||
#define LP_DEC_Y (BUTTON_ON | BUTTON_LEFT)
|
||||
#define LP_INC_Y (BUTTON_ON | BUTTON_RIGHT)
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_3G_PAD) || \
|
||||
(CONFIG_KEYPAD == IPOD_1G2G_PAD)
|
||||
|
@ -70,18 +71,21 @@ const unsigned char rockbox16x7[] = {
|
|||
#define LP_INC_X BUTTON_RIGHT
|
||||
#define LP_DEC_Y BUTTON_SCROLL_BACK
|
||||
#define LP_INC_Y BUTTON_SCROLL_FWD
|
||||
|
||||
#elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD
|
||||
#define LP_QUIT BUTTON_PLAY
|
||||
#define LP_DEC_X BUTTON_LEFT
|
||||
#define LP_INC_X BUTTON_RIGHT
|
||||
#define LP_DEC_Y BUTTON_DOWN
|
||||
#define LP_INC_Y BUTTON_UP
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_X5M5_PAD
|
||||
#define LP_QUIT BUTTON_POWER
|
||||
#define LP_DEC_X BUTTON_LEFT
|
||||
#define LP_INC_X BUTTON_RIGHT
|
||||
#define LP_DEC_Y BUTTON_DOWN
|
||||
#define LP_INC_Y BUTTON_UP
|
||||
|
||||
#elif CONFIG_KEYPAD == GIGABEAT_PAD
|
||||
#define LP_QUIT BUTTON_POWER
|
||||
#define LP_DEC_X BUTTON_LEFT
|
||||
|
@ -125,6 +129,13 @@ const unsigned char rockbox16x7[] = {
|
|||
#define LP_DEC_Y BUTTON_DOWN
|
||||
#define LP_INC_Y BUTTON_UP
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
|
||||
#define LP_QUIT BUTTON_RC_REC
|
||||
#define LP_DEC_X BUTTON_RC_REW
|
||||
#define LP_INC_X BUTTON_RC_FF
|
||||
#define LP_DEC_Y BUTTON_RC_VOL_DOWN
|
||||
#define LP_INC_Y BUTTON_RC_VOL_UP
|
||||
|
||||
#else
|
||||
#define LP_QUIT BUTTON_OFF
|
||||
#define LP_DEC_X BUTTON_LEFT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue