diff options
Diffstat (limited to 'apps/plugins/matrix.c')
-rw-r--r-- | apps/plugins/matrix.c | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/apps/plugins/matrix.c b/apps/plugins/matrix.c index d7d2469b07..c446665894 100644 --- a/apps/plugins/matrix.c +++ b/apps/plugins/matrix.c @@ -56,64 +56,83 @@ extern const fb_data matrix_normal[]; #define MATRIX_SLEEP_MORE BUTTON_SCROLL_BACK|BUTTON_REPEAT #define MATRIX_SLEEP_LESS BUTTON_SCROLL_FWD|BUTTON_REPEAT #define MATRIX_PAUSE BUTTON_PLAY + #elif (CONFIG_KEYPAD == IRIVER_H100_PAD) || \ (CONFIG_KEYPAD == IRIVER_H300_PAD) #define MATRIX_EXIT BUTTON_OFF #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_SELECT + #elif (CONFIG_KEYPAD == IRIVER_H10_PAD) #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_SCROLL_UP|BUTTON_REPEAT #define MATRIX_SLEEP_LESS BUTTON_SCROLL_DOWN|BUTTON_REPEAT #define MATRIX_PAUSE BUTTON_PLAY + #elif (CONFIG_KEYPAD == IAUDIO_X5M5_PAD) #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_PLAY + #elif (CONFIG_KEYPAD == GIGABEAT_PAD) #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_SELECT + #elif CONFIG_KEYPAD == SANSA_E200_PAD #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_SCROLL_BACK|BUTTON_REPEAT #define MATRIX_SLEEP_LESS BUTTON_SCROLL_FWD|BUTTON_REPEAT #define MATRIX_PAUSE BUTTON_SELECT + #elif CONFIG_KEYPAD == SANSA_FUZE_PAD #define MATRIX_EXIT BUTTON_DOWN #define MATRIX_SLEEP_MORE BUTTON_SCROLL_BACK|BUTTON_REPEAT #define MATRIX_SLEEP_LESS BUTTON_SCROLL_FWD|BUTTON_REPEAT #define MATRIX_PAUSE BUTTON_SELECT + #elif CONFIG_KEYPAD == SANSA_C200_PAD #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_SELECT + #elif (CONFIG_KEYPAD == GIGABEAT_S_PAD) #define MATRIX_EXIT BUTTON_BACK #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_SELECT + #elif CONFIG_KEYPAD == IAUDIO_M3_PAD #define MATRIX_EXIT BUTTON_RC_REC #define MATRIX_SLEEP_MORE BUTTON_RC_VOL_UP #define MATRIX_SLEEP_LESS BUTTON_RC_VOL_DOWN #define MATRIX_PAUSE BUTTON_RC_PLAY + #elif (CONFIG_KEYPAD == COWOND2_PAD) #define MATRIX_EXIT BUTTON_POWER + #elif CONFIG_KEYPAD == IAUDIO67_PAD #define MATRIX_EXIT BUTTON_POWER #define MATRIX_SLEEP_MORE BUTTON_VOLUP #define MATRIX_SLEEP_LESS BUTTON_VOLDOWN #define MATRIX_PAUSE BUTTON_PLAY + #elif CONFIG_KEYPAD == CREATIVEZVM_PAD #define MATRIX_EXIT BUTTON_BACK #define MATRIX_SLEEP_MORE BUTTON_UP #define MATRIX_SLEEP_LESS BUTTON_DOWN #define MATRIX_PAUSE BUTTON_PLAY + +#elif CONFIG_KEYPAD == PHILIPS_HDD1630_PAD +#define MATRIX_EXIT BUTTON_POWER +#define MATRIX_SLEEP_MORE BUTTON_UP +#define MATRIX_SLEEP_LESS BUTTON_DOWN +#define MATRIX_PAUSE BUTTON_SELECT + #else #error Unsupported keypad #endif |