[Wayland-bugs] [Bug 105104] Cannot set tap button map with wayland

2018-02-15 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105104

Peter Hutterer  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||peter.hutte...@who-t.net
 Resolution|--- |NOTABUG

--- Comment #2 from Peter Hutterer  ---
yeah, you're creating a second context here. and since libinput doesn't modify
the devices, it's just an independent context that doesn't affect the one in
the compositor (weston in this case?). Unless your compositor provides some way
of setting this, not much you can do here.

-- 
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


[Wayland-bugs] [Bug 105104] Cannot set tap button map with wayland

2018-02-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=105104

--- Comment #1 from ron.koerner+f...@gmail.com ---
Addition: I'm using libinput 1.8.2-1ubuntu2 on Ubuntu 17.10.

-- 
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


[Wayland-bugs] [Bug 105104] Cannot set tap button map with wayland

2018-02-14 Thread bugzilla-daemon
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