summaryrefslogtreecommitdiff
path: root/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/tms320dm320/mrobe-500/button-target.h')
-rw-r--r--firmware/target/arm/tms320dm320/mrobe-500/button-target.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
index 1f17f3f3c8..ae23346814 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
+++ b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
@@ -53,14 +53,30 @@ void use_calibration(bool enable);
53 53
54#define BUTTON_TOUCH 0x00000200 54#define BUTTON_TOUCH 0x00000200
55 55
56/* compatibility hacks */ 56/* Touchpad Screen Area Buttons */
57#define BUTTON_TOPLEFT 0x00004000
58#define BUTTON_TOPMIDDLE 0x00008000
59#define BUTTON_TOPRIGHT 0x00010000
60#define BUTTON_MIDLEFT 0x00020000
61#define BUTTON_CENTER 0x00040000
62#define BUTTON_MIDRIGHT 0x00080000
63#define BUTTON_BOTTOMLEFT 0x00100000
64#define BUTTON_BOTTOMMIDDLE 0x00200000
65#define BUTTON_BOTTOMRIGHT 0x00400000
66
67/* compatibility hacks
68 not mapped to the touchpad button areas because
69 the touchpad is not always in that mode */
57#define BUTTON_LEFT BUTTON_RC_REW 70#define BUTTON_LEFT BUTTON_RC_REW
58#define BUTTON_RIGHT BUTTON_RC_FF 71#define BUTTON_RIGHT BUTTON_RC_FF
59 72
60#define POWEROFF_BUTTON BUTTON_POWER 73#define POWEROFF_BUTTON BUTTON_POWER
61#define POWEROFF_COUNT 10 74#define POWEROFF_COUNT 10
62 75
63#define BUTTON_MAIN BUTTON_POWER 76#define BUTTON_MAIN (BUTTON_POWER| \
77 BUTTON_TOPLEFT|BUTTON_TOPMIDDLE|BUTTON_TOPRIGHT \
78 BUTTON_MIDLEFT|BUTTON_CENTER|BUTTON_MIDRIGHT \
79 BUTTON_BOTTOMLEFT|BUTTON_BOTTOMMIDDLE|BUTTON_BOTTOMRIGHT)
64 80
65#define BUTTON_REMOTE (BUTTON_RC_HEART|BUTTON_RC_MODE| \ 81#define BUTTON_REMOTE (BUTTON_RC_HEART|BUTTON_RC_MODE| \
66 BUTTON_RC_VOL_DOWN|BUTTON_RC_VOL_UP| \ 82 BUTTON_RC_VOL_DOWN|BUTTON_RC_VOL_UP| \