diff options
author | Daniel Stone <daniel.stone@nokia.com> | 2006-07-19 12:15:18 -0400 |
---|---|---|
committer | Daniel Stone <daniels@endtroducing.fooishbar.org> | 2006-07-21 15:19:50 -0400 |
commit | b308dbf273f8c26361b0fee7aca64aec3245f60b (patch) | |
tree | d81b973c4ff1149f08d876f7ae4d95060d8b6d1c /include | |
parent | c9a3d9baa81ceb940032ffe529d9eadf2d202ab2 (diff) |
add DEVICE_TOUCHSCREEN and DEVICE_CORE Xi controls (DeviceIntRec ABI break)
Add DEVICE_TOUCHSCREEN and DEVICE_CORE controls to the Xi code, and the
TouchscreenClassRec and a coreEvents flag, to toggle propagation of core
events.
Diffstat (limited to 'include')
-rw-r--r-- | include/inputstr.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/inputstr.h b/include/inputstr.h index b54e8a1d5..5c294975a 100644 --- a/include/inputstr.h +++ b/include/inputstr.h @@ -177,6 +177,14 @@ typedef struct _ProximityClassRec { char pad; } ProximityClassRec, *ProximityClassPtr; +typedef struct _TouchscreenClassRec { + int min_x; + int max_x; + int min_y; + int max_y; + int button_threshold; +} TouchscreenClassRec, *TouchscreenClassPtr; + typedef struct _KbdFeedbackClassRec *KbdFeedbackPtr; typedef struct _PtrFeedbackClassRec *PtrFeedbackPtr; typedef struct _IntegerFeedbackClassRec *IntegerFeedbackPtr; @@ -250,6 +258,7 @@ typedef struct _DeviceIntRec { used to initialize, turn on, or turn off the device */ Bool inited; /* TRUE if INIT returns Success */ + Bool coreEvents; /* TRUE if device also sends core */ GrabPtr grab; /* the grabber - used by DIX */ struct { Bool frozen; @@ -276,6 +285,7 @@ typedef struct _DeviceIntRec { ButtonClassPtr button; FocusClassPtr focus; ProximityClassPtr proximity; + TouchscreenClassPtr touchscreen; KbdFeedbackPtr kbdfeed; PtrFeedbackPtr ptrfeed; IntegerFeedbackPtr intfeed; |