Re: [PATCH v2] usbtouchscreen: adds support for inverting X or Y axis (or both)
From: Philippe Coval
Date: Mon Jul 13 2015 - 06:41:34 EST
On 07/13/2015 12:28 PM, Bastien Nocera wrote:
> On Mon, 2015-07-13 at 12:15 +0200, Philippe Coval wrote:
>> Invert Y is needed (together with swap XY) for some touchscreens :
>> - LeadingTouch screens (at least for some of them)
>> - CarTft 8in4 (USB ID=0eef:0001)
>
> Wouldn't it be useful to force those settings for touchscreen devices
> which you can detect? That would make it work out-of-the-box on those
> devices.
>
Hi,
That's what I am doing, but userland (using udev rules),
since I am really unsure we can rely on USB id...
For now, I don't think it's a good idea to force any behaviour,
that can cause regressions on other ones.
In a longer term, it would be good to keep a list of all those screens
and see what should be the prefered behaviour per identification.
Note, I don't have any screen anymore.
Thanks for feedback
--
mailto:philippe.coval@xxxxxxxxxxxxx -- gpg:0x467094BC
xmpp:philippe.coval.pro@xxxxxxxxx
https://dockr.eurogiciel.fr/blogs/embedded/author/pcl/
.
Attachment:
signature.asc
Description: OpenPGP digital signature