summaryrefslogtreecommitdiff
path: root/XInput.h
diff options
context:
space:
mode:
authorZephaniah E. Hull <warp@agamemnon.b5>2006-10-21 03:58:53 -0400
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-21 12:04:00 +0300
commit06ffd1e6b600d4e3f55ce7da69448a284ff5dac6 (patch)
tree87b5b4aa75b5479a394102eafdb539a407c879ab /XInput.h
parent1fab95863efc2bbf9a5b836b3de31da4a956b4bd (diff)
DEVICE_TOUCHPAD -> DEVICE_ABS_CALIB.
As it's really calibration for absolute devices, add some stuff. DEVICE_ABS_AREA Defines the area of the screen that an absolute device covers if it is sending core events.
Diffstat (limited to 'XInput.h')
-rw-r--r--XInput.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/XInput.h b/XInput.h
index 3cc7d31..528e442 100644
--- a/XInput.h
+++ b/XInput.h
@@ -664,8 +664,22 @@ typedef struct {
int max_x;
int min_y;
int max_y;
+ int flip_x;
+ int flip_y;
+ int rotation;
int button_threshold;
-} XDeviceTSControl, XDeviceTSState;
+} XDeviceAbsCalibControl, XDeviceAbsCalibState;
+
+typedef struct {
+ XID control;
+ int length;
+ int offset_x;
+ int offset_y;
+ int width;
+ int height;
+ int screen;
+ XID following;
+} XDeviceAbsAreaControl, XDeviceAbsAreaState;
typedef struct {
XID control;