Hardware buttons on Thinkpad X230 tablet disabled in tablet mode
Peter Hutterer
peter.hutterer at who-t.net
Thu Nov 1 08:49:11 UTC 2018
On Thu, Nov 01, 2018 at 10:32:06AM +1100, Ryan Walklin wrote:
> Hi,
>
> I have a Thinkpad X230 tablet running the Sway WM on Fedora Workstation
> 29.
>
> I've set up the screen rotation button to rotate the screen 90 degrees each press, however the button only works in laptop mode. In tablet mode the button is disabled.
>
> Investigating shows that the button is registered as part of the internal
> PS/2 keyboard (key code 153, XF86RotateWindows) and I suspect is being
> disabled by libinput along with the rest of the keyboard and trackpad as a
> result of this bug (https://bugs.freedesktop.org/show_bug.cgi?id=102729).
>
> Is there any way to prevent this from happening, either stopping the
> keyboard being disabled at all or whitelisting specific keys?
we just need an entry for that device, see the bug below for the x220,
shouldn't be hard to add another entry for the 230. I'll glady accept any
merge requests :)
https://gitlab.freedesktop.org/libinput/libinput/issues/154
Cheers,
Peter
More information about the wayland-devel
mailing list