summaryrefslogtreecommitdiff
path: root/src/quirks.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2019-05-28 09:54:27 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2019-05-28 13:23:49 +1000
commit8dfe8c68eb9bde9eecc7de5665903d258df42272 (patch)
tree255a6ad0dd2ec2de9d14284fc7beb6618c694788 /src/quirks.h
parent3dc27d5d38aa79ec49c438a35cedf4a8e07d3124 (diff)
downloadlibinput-8dfe8c68eb9bde9eecc7de5665903d258df42272.tar.gz
quirks: add trackpoint integration attribute
Some versions [1] of the Lenovo ThinkPad Compact USB Keyboard with TrackPoint USB have the pointing stick on an event node that has keys but is not a regular keyboard. Thus the stick falls through the cracks and gets disabled on tablet mode switch. Instead of adding more hacks let's do this properly: tag the pointing stick as external and have the code in place to deal with that. [1] This may be caused by recent kernel changes Fixes #291 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 b0e69d21..2d367b83 100644
--- a/src/quirks.h
+++ b/src/quirks.h
@@ -95,6 +95,7 @@ enum quirk {
QUIRK_ATTR_PALM_SIZE_THRESHOLD,
QUIRK_ATTR_LID_SWITCH_RELIABILITY,
QUIRK_ATTR_KEYBOARD_INTEGRATION,
+ QUIRK_ATTR_TRACKPOINT_INTEGRATION,
QUIRK_ATTR_TPKBCOMBO_LAYOUT,
QUIRK_ATTR_PRESSURE_RANGE,
QUIRK_ATTR_PALM_PRESSURE_THRESHOLD,