[Wayland-bugs] [Bug 105104] Cannot set tap button map with wayland
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Feb 14 23:53:03 UTC 2018
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 at lists.freedesktop.org
Reporter: ron.koerner+fqgd at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20180214/efd69d56/attachment.html>
More information about the wayland-bugs
mailing list