forked from len0rd/rockbox
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
|
@ -234,6 +234,22 @@ PLUGIN_HEADER
|
|||
#define BJACK_RIGHT BUTTON_RIGHT
|
||||
#define BJACK_LEFT BUTTON_LEFT
|
||||
|
||||
#elif CONFIG_KEYPAD == IAUDIO_M3_PAD
|
||||
|
||||
#define BJACK_START BUTTON_RC_PLAY
|
||||
#define BJACK_QUIT BUTTON_RC_REC
|
||||
#define BJACK_MAX (BUTTON_RC_PLAY|BUTTON_RC_VOL_UP)
|
||||
#define BJACK_MIN (BUTTON_RC_PLAY|BUTTON_RC_VOL_DOWN)
|
||||
#define BJACK_HIT BUTTON_RC_PLAY
|
||||
#define BJACK_STAY BUTTON_RC_FF
|
||||
#define BJACK_DOUBLEDOWN BUTTON_RC_REW
|
||||
#define BJACK_SCORES BUTTON_RC_MENU
|
||||
#define BJACK_RESUME BUTTON_RC_MODE
|
||||
#define BJACK_UP BUTTON_RC_VOL_UP
|
||||
#define BJACK_DOWN BUTTON_RC_VOL_DOWN
|
||||
#define BJACK_RIGHT BUTTON_RC_FF
|
||||
#define BJACK_LEFT BUTTON_RC_REW
|
||||
|
||||
#else
|
||||
#error No keymap defined!
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue