diff options
-rw-r--r-- | apps/plugins/jewels.c | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index ae69e0ade5..ec726cec8a 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c @@ -59,11 +59,10 @@ PLUGIN_HEADER #define JEWELS_LEFT BUTTON_LEFT #define JEWELS_RIGHT BUTTON_RIGHT #define JEWELS_SELECT BUTTON_SELECT -#define JEWELS_MENU BUTTON_MODE #define JEWELS_CANCEL BUTTON_OFF #define JEWELS_RC_CANCEL BUTTON_RC_STOP -#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || (CONFIG_KEYPAD == IPOD_3G_PAD) || \ +#elif (CONFIG_KEYPAD == IPOD_4G_PAD) || \ (CONFIG_KEYPAD == IPOD_1G2G_PAD) #define JEWELS_SCROLLWHEEL #define JEWELS_UP BUTTON_MENU @@ -73,6 +72,15 @@ PLUGIN_HEADER #define JEWELS_PREV BUTTON_SCROLL_BACK #define JEWELS_NEXT BUTTON_SCROLL_FWD #define JEWELS_SELECT BUTTON_SELECT +#define JEWELS_CANCEL (BUTTON_SELECT | BUTTON_MENU) + +#elif (CONFIG_KEYPAD == IPOD_3G_PAD) +#define JEWELS_LEFT BUTTON_LEFT +#define JEWELS_RIGHT BUTTON_RIGHT +#define JEWELS_UP BUTTON_SCROLL_BACK +#define JEWELS_DOWN BUTTON_SCROLL_FWD +#define JEWELS_SELECT BUTTON_SELECT +#define JEWELS_CANCEL BUTTON_MENU #elif CONFIG_KEYPAD == IRIVER_IFP7XX_PAD #define JEWELS_UP BUTTON_UP @@ -144,7 +152,6 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define JEWELS_LEFT BUTTON_LEFT #define JEWELS_RIGHT BUTTON_RIGHT #define JEWELS_SELECT BUTTON_SELECT -#define JEWELS_MENU BUTTON_MENU #define JEWELS_CANCEL BUTTON_BACK #elif CONFIG_KEYPAD == MROBE100_PAD @@ -162,7 +169,6 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define JEWELS_RIGHT BUTTON_RC_FF #define JEWELS_SELECT BUTTON_RC_PLAY #define JEWELS_CANCEL BUTTON_RC_REC - #define JEWELS_RC_CANCEL BUTTON_REC #elif CONFIG_KEYPAD == COWOND2_PAD @@ -192,7 +198,8 @@ CONFIG_KEYPAD == SANSA_M200_PAD #define JEWELS_SELECT BUTTON_SELECT #define JEWELS_CANCEL BUTTON_POWER -#elif CONFIG_KEYPAD == ONDAVX747_PAD || CONFIG_KEYPAD == MROBE500_PAD +#elif CONFIG_KEYPAD == ONDAVX747_PAD || \ +CONFIG_KEYPAD == MROBE500_PAD #define JEWELS_CANCEL BUTTON_POWER #else |