[Wayland-bugs] [Bug 102408] Disable touchpad in tablet mode (SW_TABLET_MODE)

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 7 09:02:57 UTC 2017


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

--- Comment #8 from Davide Depau <davide at depau.eu> ---
I'd like to mention that in some Lenovo Yoga laptops, keyboard and trackpoint
should be disabled too when switching to tablet mode.

My laptop, for instance, (a Lenovo ThinkPad X1 Yoga 1st) disables keyboard (the
keys are physically blocked when the laptop is at an angle > 180°), but
touchpad and trackpoint are still functional.

However, my friends laptop (some Lenovo non-ThinkPad Yoga) does not physically
block anything, so when using it on some non-flat surface (like legs) you get
keypresses.

> So, Windows 10 prompts me whether I want to switch into tablet mode as soon
> as I open the laptop slightly more than 180°. With the correct touchpad driver
> installed the touchpad is turned off automatically at that point (whether
> enter "tablet mode" or not).

So does mine. However, on my laptop, by listening to the acpid socket on Linux,
I noticed that no event is actually triggered when the angle changes around
180°, aside from the backlight brightness change (my laptop automatically turns
off backlight when the keys are blocked, and turns it back on afterwards).
Tablet mode is only triggered when it gets close to ~345°. I don't know what
actually happens under the hood on Windows, but if we have some way to detect
this too  checking for keyboard backlight change doesn't seem good to me -, it
should probably be exposed somehow.

-- 
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/20170907/8ae0d200/attachment.html>


More information about the wayland-bugs mailing list