| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
| |
The README is probably read more often than the wiki, so let's put the
warning there too that libwacom doesn't make the tablet work.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
| |
Mention the location of layout files in `/etc/libwacom/layouts/`, which was not obvious previously.
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the tool generated the hwdb and the rest was left to the user,
requiring more hand-holding in bug reports and more extensive documentation.
Change this to be a one-stop tool that takes care of all steps required by a
user, so a user can just run this tool with /etc/libwacom as argument and the
hwdb will be updated. Notably: the default invocation with /etc/libwacom an
*auxilary* hwdb based on the user's files rather than writing
out the whole one, overwriting the system one.
This is the 99%-case version of the tool, custom prefixes etc. will not be
handled as well as they can be but that's a niche case anyway and not worth
the effort. The vast majority of users will put the new file in to
/etc/libwacom and have the system installation in /usr/share/libwacom.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This script produces the same output, albeit the ordering is now grouped by
bustype (in alphabetical order). So all Bluetooth devices come first, then the
USB devices - previously the devices were mixed together based on vid/pid/name.
It also fixes a minor sorting issue with the XP Pen Start G640.
The Python script needs to emulate some of the libwacom database logic to
extract the keys from the .tablet files, but in return we get:
- a script that can be run from the source tree (useful for cross-compiling)
- a script that can be run by a user after dropping a file into /etc/libwacom
so they don't have the manually write a hwdb entry
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
| |
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
| |
We no longer have a ruleset, we're using the hwdb now - update accordingly.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
More efficient and easier to understand and read too. Plus, this set works
with uinput devices out of the box without the need for extra rules.
The new approach is split into a ruleset which now only tags the old serial
devices. Those two lines are easier to keep here than device a hwdb lookup
scheme.
The ruleset imports from the hwdb builtin with the device's modalias, see
/sys/class/device/input/eventXXX/device/modalias. This provides the
bus/vendor/product lookup. And for the prefix use libwacom with the device
name which allows our Finger and Pad matches.
Since we cannot unset properties through a hwdb lookup, we have an extra rule
to set all the joystick 0 envs to the empty string.
The hwdb file itself is generated, note that you must to run systemd-hwdb
update whenever this file changes.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
|
|
|