diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-09 16:53:46 +0930 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2008-07-09 17:51:27 +0930 |
commit | 7d5bb99ffce3200f82420c5a5ebac3b445aac633 (patch) | |
tree | 25ff38d672e6167be7cc1e52f3b644485bff2eb3 /include/X11/extensions | |
parent | 908ac35ebb25e2f55945825e6256d1848e17cc38 (diff) |
Add support for input device properties requests.
Diffstat (limited to 'include/X11/extensions')
-rw-r--r-- | include/X11/extensions/XInput.h | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput.h b/include/X11/extensions/XInput.h index e30762b..93c9041 100644 --- a/include/X11/extensions/XInput.h +++ b/include/X11/extensions/XInput.h @@ -1449,6 +1449,73 @@ extern Status XExtendedGrabDevice( XGenericEventMask* /* generic_events */ ); +typedef struct { + Bool pending; + Bool range; + Bool immutable; + Bool fromClient; + int num_values; + long *values; +} XIPropertyInfo; + +extern Atom* XListDeviceProperties( + Display* /* dpy */, + XDevice* /* dev */, + int* /* nprops_return */ +); + +extern void XChangeDeviceProperty( + Display* /* dpy */, + XDevice* /* dev */, + Atom /* property */, + Atom /* type */, + int /* format */, + int /* mode */, + _Xconst unsigned char * /*data */, + int /* nelements */ +); + +extern XIPropertyInfo* XQueryDeviceProperty( + Display* /* dpy */, + XDevice* /* dev */, + Atom /* property */ +); + +extern void +XConfigureDeviceProperty( + Display* /* dpy */, + XDevice* /* dev */, + Atom /* property */, + Bool /* pending */, + Bool /* range */, + int /* num_values */, + long* /* values */ +); + +extern void +XDeleteDeviceProperty( + Display* /* dpy */, + XDevice* /* dev */, + Atom /* property */ +); + +extern Status +XGetDeviceProperty( + Display* /* dpy*/, + XDevice* /* dev*/, + Atom /* property*/, + long /* offset*/, + long /* length*/, + Bool /* delete*/, + Bool /* pending*/, + Atom /* req_type*/, + Atom* /* actual_type*/, + int* /* actual_format*/, + unsigned long* /* nitems*/, + unsigned long* /* bytes_after*/, + unsigned char** /* prop*/ +); + _XFUNCPROTOEND #endif /* _XINPUT_H_ */ |