Thread (12 messages) 12 messages, 4 authors, 2021-10-21

Re: [PATCH v11 1/4] HID: wacom_sys: Add support for flipping the data values

From: Alistair Francis <hidden>
Date: 2021-10-20 01:45:20
Also in: linux-devicetree, linux-input, lkml

Possibly related (same subject, not in this thread)

On Wed, Oct 20, 2021 at 11:05 AM Dmitry Torokhov
[off-list ref] wrote:
On Wed, Oct 20, 2021 at 09:33:13AM +1000, Alistair Francis wrote:
quoted
On Tue, Oct 19, 2021 at 11:51 AM Dmitry Torokhov
[off-list ref] wrote:
quoted
We already have touchscreen-inverted-x/y defined in
Documentation/devicetree/bindings/input/touchscreen/touchscreen.yaml,
why are they not sufficient?
The touchscreen-* properties aren't applied to HID devices though, at
least not that I can tell.
No, they are not currently, but that does not mean we need to establish
a new set of properties (property names) for HID case.
I can update the names to use the existing touchscreen ones.

Do you have a hint of where this should be implemented though?

Right now (without "HID: wacom: Add support for the AG14 Wacom
device") the wacom touchscreen is just registered as a generic HID
device. I don't see any good place in hid-core, hid-input or
hid-generic to invert the input values for this.

Even with my "HID: wacom: Add support for the AG14 Wacom device" patch
I don't see a good way of doing this without the raw data parsing.

Alistair
Thanks.
--
Dmitry
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help