[PATCH v2 libinput 00/26] tablet: support the remaining tools
Peter Hutterer
peter.hutterer at who-t.net
Sun Mar 1 20:20:52 PST 2015
On Tue, Feb 24, 2015 at 04:21:03PM +1000, Peter Hutterer wrote:
>
> This is a v2 of the patchset here
> http://lists.freedesktop.org/archives/wayland-devel/2015-February/020036.html
> 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 feature-complete.
>
> branch available for testing:
> https://github.com/whot/libinput/tree/wip/wacom-extra-tool-support
I've gone ahead and pushed the current version to the tablet-support branch
now. there's still a couple of things to fix but juggling 26 patches was
getting a bit tricky, so the rest will go on top as normal bugfixes/extra
patches now.
Cheers,
Peter
More information about the wayland-devel
mailing list