Re: [PATCH] HID: wacom: Do not completely map WACOM_HID_WD_TOUCHRINGSTATUS usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 4 Aug 2017, Jason Gerecke wrote:

> The WACOM_HID_WD_TOUCHRINGSTATUS usage is a single bit which tells us
> whether the touchring is currently in use or not. Because we need to
> reset the axis value to 0 when the finger is removed, we call
> 'wacom_map_usage' to ensure that the required type/code values are
> associated with the usage. The 'wacom_map_usage' also sets up the axis
> range and resolution, however, which is not desired in this particular
> case.
> 
> Although xf86-input-wacom doesn't do really do anything with the ring's
> range or resolution, the libinput driver (for Wayland environments)
> uses these values to provide proper angle indications to userspace.
> 
> Fixes: 60a2218698 ("HID: wacom: generic: add support for touchring")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Jason Gerecke <jason.gerecke@xxxxxxxxx>

Applied to for-4.13/upstream-fixes. Thanks,

-- 
Jiri Kosina
SUSE Labs




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]