[Wayland-bugs] [Bug 90107] Handle abs ranges of [0, 0]

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Apr 19 15:57:35 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90107

            Bug ID: 90107
           Summary: Handle abs ranges of [0, 0]
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: peter.hutterer at who-t.net

Related to Bug 90090 but let's keep that bug the device-specific one.

The kernel allows a min==max abs range provided the values are 0. This
essentially means "we don't know", an example for a fix for such a device is
here:
https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=6f1891d01956cad406d2af8ed2e9cef6108bfc

libinput should deal with those devices, especially where it doesn't actually
use the axis anyway. In the above case of a touchscreen - we don't use pressure
so we can just ignore a bad setting.

For x/y and the MT axes we should always require a valid range.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150419/a184751a/attachment.html>


More information about the wayland-bugs mailing list