diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/button-target.h')
-rw-r--r-- | firmware/target/arm/tms320dm320/mrobe-500/button-target.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h index aa4768c05b..1f17f3f3c8 100644 --- a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h +++ b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h | |||
@@ -20,7 +20,6 @@ | |||
20 | #ifndef _BUTTON_TARGET_H_ | 20 | #ifndef _BUTTON_TARGET_H_ |
21 | #define _BUTTON_TARGET_H_ | 21 | #define _BUTTON_TARGET_H_ |
22 | 22 | ||
23 | #include <stdbool.h> | ||
24 | #include "config.h" | 23 | #include "config.h" |
25 | 24 | ||
26 | #define HAS_BUTTON_HOLD | 25 | #define HAS_BUTTON_HOLD |
@@ -37,22 +36,21 @@ struct touch_calibration_point { | |||
37 | }; | 36 | }; |
38 | void use_calibration(bool enable); | 37 | void use_calibration(bool enable); |
39 | 38 | ||
40 | /* m:robe 500 specific button codes */ | 39 | /* M:Robe 500 specific button codes */ |
41 | 40 | ||
42 | #define BUTTON_POWER 0x00000001 | 41 | #define BUTTON_POWER 0x00000100 |
43 | 42 | ||
44 | /* Remote control buttons */ | 43 | /* Remote control buttons */ |
45 | 44 | ||
46 | #define BUTTON_RC_HEART 0x00000002 | 45 | #define BUTTON_RC_PLAY 0x00000001 |
47 | #define BUTTON_RC_MODE 0x00000004 | 46 | #define BUTTON_RC_DOWN 0x00000002 |
48 | #define BUTTON_RC_VOL_DOWN 0x00000008 | 47 | #define BUTTON_RC_FF 0x00000004 |
48 | #define BUTTON_RC_REW 0x00000008 | ||
49 | #define BUTTON_RC_VOL_UP 0x00000010 | 49 | #define BUTTON_RC_VOL_UP 0x00000010 |
50 | #define BUTTON_RC_VOL_DOWN 0x00000020 | ||
51 | #define BUTTON_RC_MODE 0x00000040 | ||
52 | #define BUTTON_RC_HEART 0x00000080 | ||
50 | 53 | ||
51 | |||
52 | #define BUTTON_RC_PLAY 0x00000020 | ||
53 | #define BUTTON_RC_REW 0x00000040 | ||
54 | #define BUTTON_RC_FF 0x00000080 | ||
55 | #define BUTTON_RC_DOWN 0x00000100 | ||
56 | #define BUTTON_TOUCH 0x00000200 | 54 | #define BUTTON_TOUCH 0x00000200 |
57 | 55 | ||
58 | /* compatibility hacks */ | 56 | /* compatibility hacks */ |