[Wayland-bugs] [Bug 103476] RFE: libinput: Add support for Trust TB-4200 Wireless Scroll Tablet (Aiptek based)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Jan 12 03:27:26 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=103476
--- Comment #15 from Martin Kolman <martin.kolman at gmail.com> ---
(In reply to Peter Hutterer from comment #13)
> (In reply to Martin Kolman from comment #12)
> > # (Aiptek based ?)
> > evdev:name:Aiptek
> > EVDEV_ABS_00=::26
> > EVDEV_ABS_01=::15
> >
> > This seems to work! :)
>
> easiest to verify would be to run evemu-describe and check the Resolution
> value for ABS_X and ABS_Y. If it applied correctly, those should be 26 and
> 15, respectively.
Indeed! Doesn't seem to be applied:
# Event code 0 (ABS_X)
# Value 0
# Min 0
# Max 5999
# Fuzz 0
# Flat 0
# Resolution 0
# Event code 1 (ABS_Y)
# Value 0
# Min 0
# Max 4499
# Fuzz 0
# Flat 0
# Resolution 0
Full evemu-describe output:
https://paste.fedoraproject.org/paste/DEDD69B9kEaIRCPn1Vy1uw
I've also tried to use the earlier name based matching (evdev:name:Aiptek) and
the evemu-describe results are the same - Resolution is still 0.
>
> > I've tried tracing a 6.5 cm x 6.5 cm square in Krita and it comes out
> > slightly wider than it is high. The number seem to have effect as when I
> > swapped them (15 first, 26 second) the rectangle was even wider.
>
> Could be because we had to round down for 26 but up for 15 though the effect
> should be minimal. And of course, if you swap the resolutions around the
> result is going to be some form of garbage. The device sends the same data,
> but when you swap it you're saying "15 device units along the x are 1mm"
> which is obviously incorrect and stretches things.
Yeah, but I see it stretched *always*, not just when I switch the values. But
given that based on evemu-describe it looks like the values are not being
applied the even-more-stretched result with switched values could be a fluke.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180112/4d1a0d1e/attachment.html>
More information about the wayland-bugs
mailing list