diff options
Diffstat (limited to 'apps/plugins/cube.c')
-rw-r--r-- | apps/plugins/cube.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/apps/plugins/cube.c b/apps/plugins/cube.c index dc5b5706f4..f081f88e4a 100644 --- a/apps/plugins/cube.c +++ b/apps/plugins/cube.c @@ -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 |