[PATCH v2 libinput 00/26] tablet: support the remaining tools
peter.hutterer at who-t.net
Mon Feb 23 22:21:03 PST 2015
This is a v2 of the patchset here
but reshuffled, rebased and a couple of things merged in. Notable:
libinput now uses libwacom to get tool/tablet information. This is complete
for this set yet, but a few more fixes are due to go into libwacom (e.g.
axis listing) so we can remove this knowledge from libinput. Likewise, the
missing eraser stylus buttons Lyude pointed out in the other thread will be
fixed in libwacom.
If libwacom isn't available, we fall back on basic logic to set the various
bits on the tools.
mouse buttons and the mouse wheel are now handled. art pen rotation is
fixed, was relying on BTN_TOOL_BRUSH first - the art pen is a BTN_TOOL_PEN.
other patches have seen a rebase and reshuffle and thus seen slight changes.
added get_axis_delta and get_axis_delta_discrete(). The latter for the mouse
wheel, the former allows the caller to make a decision about the tablet mode
on a per-event or per-client basis.
The couple of libwacom issues aside, this should make the tablet-support
branch available for testing:
More information about the wayland-devel