The one thing we can rely on from non-wacom tablets is that they're less
inclined to follow the established evdev behaviours. The Aiptek tablet in this
case doesn't send BTN_TOOL_PEN or any other tools, despite having the bits. It
also doesn't care about tilt, because clearly, just pretending tilt is there
is enough, right?

So aside from a few fixes, this:
* ignores tilt on all Aiptek devices until someone shows me a tablet that
  handles it correctly. at which point I'll resurrect my headache and figure
  out a better solution
* disables BTN_TOOL_MOUSE and BTN_TOOL_LENS on non-Wacom devices because
  the libinput code is written to work on Wacom devices and who knows what
  other tablets do here. Probably being up to no good and whatnot.
* Works around devices that never send BTN_TOOL_PEN on proximity in.
  Because, ah, whatever...

The net effect is that non-Wacom tablet support improves ever so
slightly, until the next cheap device comes along that decides to do its own
random thing again. Yay.

Cheers,
  Peter




_______________________________________________
wayland-devel mailing list
wayland-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-devel

Reply via email to