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

            Bug ID: 105104
           Summary: Cannot set tap button map with wayland
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: libinput
          Assignee: wayland-bugs@lists.freedesktop.org
          Reporter: ron.koerner+f...@gmail.com

I'd like to change the Tapping Button Map to LMR when using Wayland. Since
there is no way to set that via GUI or gsettings, I wrote a little script using
python-libinput (https://pypi.python.org/pypi/python-libinput):

    from libinput import LibInput
    from libinput.constant import TapButtonMap
    li=LibInput()
    device=li.path_add_device('/dev/input/event7')
    print device.config_tap_get_button_map()
    print device.config_tap_set_button_map(TapButtonMap.LMR)
    print device.config_tap_get_button_map()
    li.path_remove_device(device)

It returns this output (when run as root):

    TapButtonMap.LRM
    ConfigStatus.SUCCESS
    TapButtonMap.LMR

Unfortunately tapping with two fingers still produces a right click and no
middle click.

After reading the FAQ multiple times, I have the suspicion that this is not
supposed to work and only weston is actually allowed and able to change the
configuration.

Is that accurate or is something wrong with my approach, python-libinput or
libinput itself?

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to