diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/creative-zvm/button-target.h')
-rw-r--r-- | firmware/target/arm/tms320dm320/creative-zvm/button-target.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/firmware/target/arm/tms320dm320/creative-zvm/button-target.h b/firmware/target/arm/tms320dm320/creative-zvm/button-target.h index 1b63895374..6530a1c9e0 100644 --- a/firmware/target/arm/tms320dm320/creative-zvm/button-target.h +++ b/firmware/target/arm/tms320dm320/creative-zvm/button-target.h | |||
@@ -37,11 +37,26 @@ | |||
37 | 37 | ||
38 | #define BUTTON_HOLD (1 << 10) | 38 | #define BUTTON_HOLD (1 << 10) |
39 | 39 | ||
40 | #ifdef CREATIVE_ZV | ||
41 | #define BUTTON_PREV (1 << 11) | ||
42 | #define BUTTON_NEXT (1 << 12) | ||
43 | |||
44 | #define BUTTON_VOL_UP (1 << 13) | ||
45 | #define BUTTON_VOL_DOWN (1 << 14) | ||
46 | #endif | ||
47 | |||
40 | #define BUTTON_REMOTE 0 | 48 | #define BUTTON_REMOTE 0 |
41 | 49 | ||
50 | #ifndef CREATIVE_ZV | ||
42 | #define BUTTON_MAIN ( BUTTON_BACK | BUTTON_MENU | BUTTON_LEFT | BUTTON_RIGHT \ | 51 | #define BUTTON_MAIN ( BUTTON_BACK | BUTTON_MENU | BUTTON_LEFT | BUTTON_RIGHT \ |
43 | | BUTTON_UP | BUTTON_DOWN | BUTTON_SELECT | BUTTON_POWER \ | 52 | | BUTTON_UP | BUTTON_DOWN | BUTTON_SELECT | BUTTON_POWER \ |
44 | | BUTTON_PLAY | BUTTON_HOLD | BUTTON_CUSTOM ) | 53 | | BUTTON_PLAY | BUTTON_HOLD | BUTTON_CUSTOM ) |
54 | #else | ||
55 | #define BUTTON_MAIN ( BUTTON_BACK | BUTTON_MENU | BUTTON_LEFT | BUTTON_RIGHT \ | ||
56 | | BUTTON_UP | BUTTON_DOWN | BUTTON_SELECT | BUTTON_POWER \ | ||
57 | | BUTTON_PLAY | BUTTON_HOLD | BUTTON_NEXT | BUTTON_PREV \ | ||
58 | | BUTTON_VOL_UP | BUTTON_VOL_DOWN ) | ||
59 | #endif | ||
45 | 60 | ||
46 | #define POWEROFF_BUTTON BUTTON_POWER | 61 | #define POWEROFF_BUTTON BUTTON_POWER |
47 | #define POWEROFF_COUNT 10 | 62 | #define POWEROFF_COUNT 10 |