summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-01-31 14:43:01 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-05-26 15:27:10 +1000
commitf26a5b9a994a980ab309bc7f3b4295a4992d81c2 (patch)
treed716c4dd99fbf6605d54bac269694b2f0b4900e3
parentb6c7b9b2f39e970cedb6bc1e073f901e28cb0fa3 (diff)
Xi: add device node property to known properties.
Since the server has little choice (or even knowledge) of the actual device node used by the driver, this property is merely provided for standardisation. It is up to the driver to set it to the appropriate value, usually a device node in the form of /dev/input/event0 or similar. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Acked-by: Dan Nicholson <dbn.lists@gmail.com>
-rw-r--r--include/xserver-properties.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/xserver-properties.h b/include/xserver-properties.h
index c6259aee1..a49291b91 100644
--- a/include/xserver-properties.h
+++ b/include/xserver-properties.h
@@ -42,6 +42,9 @@
* [c6 c7 c8] [1] */
#define XI_PROP_TRANSFORM "Coordinate Transformation Matrix"
+/* STRING. Device node path of device */
+#define XI_PROP_DEVICE_NODE "Device Node"
+
/* Pointer acceleration properties */
/* INTEGER of any format */
#define ACCEL_PROP_PROFILE_NUMBER "Device Accel Profile"