summaryrefslogtreecommitdiff
path: root/src/quirks.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-01-16 10:05:59 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-02-05 09:53:23 +1000
commitfdf896a7640e6b05dbe5cf73752dc7ce671d9386 (patch)
treede3759aa5590737bdc69df5708d4a0bb6480afee /src/quirks.h
parent89b9d1bc5a5cce9461a95250b13ef8c7398e995b (diff)
downloadlibinput-fdf896a7640e6b05dbe5cf73752dc7ce671d9386.tar.gz
quirks: add a quirk to ignore unreliable tablet mode switch devices
On the Asus Vivobook Flip 14, the tablet mode switch is unreliable and always on. Instead of marking every device as 'do not suspend', just mark the tablet switch itself. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/quirks.h')
-rw-r--r--src/quirks.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quirks.h b/src/quirks.h
index 1d731a48..577c2fab 100644
--- a/src/quirks.h
+++ b/src/quirks.h
@@ -80,6 +80,7 @@ enum quirk {
QUIRK_MODEL_SYSTEM76_GALAGO,
QUIRK_MODEL_SYSTEM76_KUDU,
QUIRK_MODEL_TABLET_MODE_NO_SUSPEND,
+ QUIRK_MODEL_TABLET_MODE_SWITCH_UNRELIABLE,
QUIRK_MODEL_TABLET_NO_PROXIMITY_OUT,
QUIRK_MODEL_TABLET_NO_TILT,
QUIRK_MODEL_TOUCHPAD_VISIBLE_MARKER,