[Wayland-bugs] [Bug 95074] libinput incorrectly normalizes tablet distance values
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Apr 22 22:31:28 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=95074
Bug ID: 95074
Summary: libinput incorrectly normalizes tablet distance values
Product: Wayland
Version: unspecified
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: libinput
Assignee: wayland-bugs at lists.freedesktop.org
Reporter: killertofu at gmail.com
Commit 25a9f39 ("tablet: fix the airbrush slider range") has caused libinput to
start normalizing distance values to the range [-1, 1] instead of the expected
[0, 1]. This can be easily seen by bringing a tool into prox while running
libinput-debug-events:
event16 TABLET_TOOL_PROXIMITY +2.85s 91.11*/91.11* distance:
0.30* rotation: 0.00* wheel: 15.00* (1) mouse (0xa00, id 0x17)
proximity-in axes:drw btn:LMRSdEx
event16 TABLET_TOOL_AXIS +2.87s 91.21*/91.21* distance: 0.30
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.87s 91.28*/91.28* distance: 0.30
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.88s 91.34*/91.34* distance: 0.21*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.89s 91.34/91.34* distance: 0.21
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.90s 91.46*/91.46* distance: 0.21
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.91s 91.46/91.46* distance: 0.11*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.92s 91.58*/91.58* distance: 0.11
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.93s 91.64*/91.64* distance: 0.02*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.94s 91.75*/91.75* distance: 0.02
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.95s 91.83*/91.83* distance: 0.02
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.96s 91.92*/91.92* distance: -0.08*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.97s 91.92/91.92* distance: -0.08
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.98s 91.92/91.92* distance: -0.17*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +2.99s 91.84*/91.84* distance: -0.17
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.00s 91.74*/91.74* distance: -0.17
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.01s 91.60*/91.60* distance: -0.30*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.03s 91.57*/91.57 distance: -0.30
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.04s 91.57/91.57* distance: -0.30
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.05s 91.57/91.57 distance: -0.40*
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.06s 91.57/91.57* distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.07s 91.62*/91.62 distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.11s 91.66*/91.66 distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.15s 91.74*/91.74 distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.15s 91.74/91.74* distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.17s 91.74/91.74* distance: -0.40
rotation: 0.00 wheel: 0.00 (0)
event16 TABLET_TOOL_AXIS +3.19s 91.85*/91.85 distance: -0.49*
rotation: 0.00 wheel: 0.00 (0)
--
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/20160422/cd293e21/attachment-0001.html>
More information about the wayland-bugs
mailing list