Re: [PATCH 1/2] hid-mosart: ignore buttons report

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

 



On 12/13/2010 06:59 AM, Benjamin Tissoires wrote:
> This commit allows the device to be recognized as a touchscreen, and not a
> touchpad by xf86-input-evdev.
> 
> The device has 2 modes. The first one is an emulation of a touchscreen by
> sending left and right button, and the second mode is the one used in
> dual-touch (sending trackingID, touch and else).
> 
> That's why there is a hid report containing left and right buttons
> (9000001 and 9000002). The point is that xorg relies on these fields to
> determine if it's a touchpad or a touchscreen.
> Clearing the report (return -1) makes xorg detecting it out of the box
> as a quite pleasant (dual)touchscreen.
> 
> Signed-off-by: Benjamin Tissoires <benjamin.tissoires@xxxxxxx>

Acked-by: Chase Douglas <chase.douglas@xxxxxxxxxxxxx>

Please add "Cc: stable@xxxxxxxxxx" to the SOB area so this is picked up
for previous kernels too.

Thanks!

-- Chase
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux