<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Cannot set tap button map with wayland"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105104">105104</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Cannot set tap button map with wayland
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>libinput
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ron.koerner+fqgd@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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 (<a href="https://pypi.python.org/pypi/python-libinput">https://pypi.python.org/pypi/python-libinput</a>):
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?</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>