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.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
index 30cc55dada..5b888b3e0a 100644
--- a/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
+++ b/firmware/target/arm/tms320dm320/mrobe-500/button-target.h
@@ -33,7 +33,7 @@ int button_read_device(int *data);
33struct touch_calibration_point { 33struct touch_calibration_point {
34 short px_x; /* known pixel value */ 34 short px_x; /* known pixel value */
35 short px_y; 35 short px_y;
36 short val_x; /* touchpad value at the known pixel */ 36 short val_x; /* touchscreen value at the known pixel */
37 short val_y; 37 short val_y;
38}; 38};
39void use_calibration(bool enable); 39void use_calibration(bool enable);
@@ -55,7 +55,7 @@ void use_calibration(bool enable);
55 55
56#define BUTTON_TOUCH 0x00000200 56#define BUTTON_TOUCH 0x00000200
57 57
58/* Touchpad Screen Area Buttons */ 58/* Touch Screen Area Buttons */
59#define BUTTON_TOPLEFT 0x00004000 59#define BUTTON_TOPLEFT 0x00004000
60#define BUTTON_TOPMIDDLE 0x00008000 60#define BUTTON_TOPMIDDLE 0x00008000
61#define BUTTON_TOPRIGHT 0x00010000 61#define BUTTON_TOPRIGHT 0x00010000
@@ -67,8 +67,8 @@ void use_calibration(bool enable);
67#define BUTTON_BOTTOMRIGHT 0x00400000 67#define BUTTON_BOTTOMRIGHT 0x00400000
68 68
69/* compatibility hacks 69/* compatibility hacks
70 not mapped to the touchpad button areas because 70 not mapped to the touchscreen button areas because
71 the touchpad is not always in that mode */ 71 the touchscreen is not always in that mode */
72#define BUTTON_LEFT BUTTON_RC_REW 72#define BUTTON_LEFT BUTTON_RC_REW
73#define BUTTON_RIGHT BUTTON_RC_FF 73#define BUTTON_RIGHT BUTTON_RC_FF
74 74