summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2012-05-04 12:31:13 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2012-05-04 12:33:17 +1000
commiteeb46ad78f9c33e3c311b1301f2e61b959da9d1c (patch)
tree2606fc5db03c1d7aceae6aabc602c895fca59d3a
parent3b57e54c602fe496692a4e021961018a98f53fc9 (diff)
README: provide a description on how to debug uinput devicesuinput-device-support
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--README17
1 files changed, 17 insertions, 0 deletions
diff --git a/README b/README
index 39f0503..525412e 100644
--- a/README
+++ b/README
@@ -1,3 +1,20 @@
libwacom is a library to identify wacom tablets and their model-specific
features. It provides easy access to information such as "is this a built-in
on-screen tablet", "what is the size of this model", etc.
+
+== Debugging libwacom with uinput devices ==
+libwacom by default will not recognise uinput devices. To debug and test, a
+physical device must be connected.
+
+Custom udev rules are provided to help debug uinput device. Run
+ generate-udev-rules --with-uinput-rules
+to generate these rules and apply them locally. Devices will then be tagged
+as required and can be debugged.
+
+Some limitations:
+* For these rules to work, the device must be listed in the database.
+* libwacom will check UINPUT_* properties on the uinput device, if they do
+ not get applied, the device will not be visible
+
+DO NOT USE THESE UINPUT RULES unless you are debugging with uinput devices.
+Remove the rules once debugging is done.