summaryrefslogtreecommitdiff
path: root/include/X11/extensions/XInput.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/X11/extensions/XInput.h')
-rw-r--r--include/X11/extensions/XInput.h67
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_ */