From eeb46ad78f9c33e3c311b1301f2e61b959da9d1c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Fri, 4 May 2012 12:31:13 +1000 Subject: README: provide a description on how to debug uinput devices Signed-off-by: Peter Hutterer --- README | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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. -- cgit v1.2.3