[Wayland-bugs] [Bug 87402] Allow fake middle button on clickpads

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Dec 17 00:43:46 PST 2014


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

            Bug ID: 87402
           Summary: Allow  fake middle button on clickpads
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: tom at compton.nu

Created attachment 110941
  --> https://bugs.freedesktop.org/attachment.cgi?id=110941&action=edit
Enable middle button support for the bottom button pad

Currently libinput only supports a middle button in the top button pad area,
where it always exists from the 42% mark to the 58% mark  horizontally.

I'd like to see support for an optional middle button in the bottom button pad
area as I believe it is fairly common for people to fake that up presently with
the current drviers, which allows the boundaries to be defined with the
"SoftButtonAreas" option.

I'm attaching two patches. The first just adds support for a middle button at
the bottom but doesn't actually create one as it leaves the left and right
buttons abutting each other.

The second unconditionally adds a middle button from 42% to 58% as for the top
button area.

If you're happy with the general idea then I would propose that the second
patch be made conditional on a single "fake middle button" option, rather than
adding a general ability to specify the areas.

-- 
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/20141217/a47366db/attachment.html>


More information about the wayland-bugs mailing list