summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 11:41:46 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-07 11:41:46 +1000
commit92cfef2cebfa85bdb0c1b3b6ee2f78520b003eb7 (patch)
treef9a191b5801aa805fab0d3aafd802b5346926229 /include
parent130774c208a2f331d6110b255676ad6cb8a1a414 (diff)
Add XI2 property requests.
Without Xlib's 64-bit hilarity. A property claiming to be 32 bit is treated as 32 bit value.
Diffstat (limited to 'include')
-rw-r--r--include/X11/extensions/XInput2.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/include/X11/extensions/XInput2.h b/include/X11/extensions/XInput2.h
index abef3f2..a0761b1 100644
--- a/include/X11/extensions/XInput2.h
+++ b/include/X11/extensions/XInput2.h
@@ -436,6 +436,45 @@ extern Status XIUngrabKeysym(
int *modifiers
);
+extern Atom *XIListProperties(
+ Display* display,
+ int deviceid,
+ int *num_props_return
+);
+
+extern void XIChangeProperty(
+ Display* display,
+ int deviceid,
+ Atom property,
+ Atom type,
+ int format,
+ int mode,
+ unsigned char *data,
+ int num_items
+);
+
+extern void
+XIDeleteProperty(
+ Display* display,
+ int deviceid,
+ Atom property
+);
+
+extern Status
+XIGetProperty(
+ Display* display,
+ int deviceid,
+ Atom property,
+ long offset,
+ long length,
+ Bool delete_property,
+ Atom type,
+ Atom *type_return,
+ int *format_return,
+ unsigned long *num_items_return,
+ unsigned long *bytes_after_return,
+ unsigned char **data
+);
extern void XIFreeDeviceInfo(XIDeviceInfo *info);
extern void XIFreeEventData(XIEvent *ev);