mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
iPod: Initial attempt at button mappings for plugins. All plugins now compile, but more work is needed with the more complex ones to make them iPod friendly
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8233 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c75425511e
commit
54d44c893f
28 changed files with 361 additions and 65 deletions
|
@ -79,6 +79,19 @@
|
|||
#define CUBE_PAUSE (BUTTON_ON | BUTTON_REL)
|
||||
#define CUBE_HIGHSPEED BUTTON_SELECT
|
||||
|
||||
#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_NANO_PAD)
|
||||
#define CUBE_QUIT BUTTON_MENU
|
||||
#define CUBE_X_INC BUTTON_LEFT
|
||||
#define CUBE_X_DEC BUTTON_RIGHT
|
||||
#define CUBE_Y_INC BUTTON_SCROLL_FWD
|
||||
#define CUBE_Y_DEC BUTTON_SCROLL_BACK
|
||||
#define CUBE_Z_INC (BUTTON_SELECT | BUTTON_LEFT)
|
||||
#define CUBE_Z_DEC (BUTTON_SELECT | BUTTON_RIGHT)
|
||||
#define CUBE_MODE (BUTTON_SELECT | BUTTON_MENU)
|
||||
#define CUBE_PAUSE_PRE BUTTON_PLAY
|
||||
#define CUBE_PAUSE (BUTTON_PLAY | BUTTON_REL)
|
||||
#define CUBE_HIGHSPEED (BUTTON_SELECT | BUTTON_PLAY)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue