diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2018-08-22 14:13:33 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2018-08-31 11:12:42 +1000 |
commit | 0e2f1babc58cc2f38b8be77b63047df2f0d2b813 (patch) | |
tree | 357b8515e8193e2b612f3725d5a52aeda6fbf579 /tools/shared.c | |
parent | 06f8e02d004d7731c1071382b6e91004d84b6aef (diff) | |
download | libinput-0e2f1babc58cc2f38b8be77b63047df2f0d2b813.tar.gz |
quirks: add a quirk to monitor MSC_TIMESTAMP for pointer jumps
Currently enabled on all Dell i2c touchpads, these seem to be the ones that
needed it.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/shared.c')
-rw-r--r-- | tools/shared.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/shared.c b/tools/shared.c index c9ca9809..b103470b 100644 --- a/tools/shared.c +++ b/tools/shared.c @@ -641,6 +641,7 @@ tools_list_device_quirks(struct quirks_context *ctx, QUIRK_ATTR_THUMB_PRESSURE_THRESHOLD, QUIRK_ATTR_USE_VELOCITY_AVERAGING, QUIRK_ATTR_THUMB_SIZE_THRESHOLD, + QUIRK_ATTR_MSC_TIMESTAMP, }; enum quirk *q; @@ -716,6 +717,7 @@ tools_list_device_quirks(struct quirks_context *ctx, case QUIRK_ATTR_LID_SWITCH_RELIABILITY: case QUIRK_ATTR_KEYBOARD_INTEGRATION: case QUIRK_ATTR_TPKBCOMBO_LAYOUT: + case QUIRK_ATTR_MSC_TIMESTAMP: quirks_get_string(quirks, *q, &s); snprintf(buf, sizeof(buf), "%s=%s", name, s); callback(userdata, buf); |