summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-05-30 11:14:52 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-05-31 13:09:37 +1000
commita55693f87c58c24b6866ed0f38c5470124be3df7 (patch)
tree8d0831cca01c27c5aea48f18f3d83ded85fbae63 /udev
parenta9ef4ba1f33bf88c273eafd6d5e519e70419450b (diff)
downloadlibinput-a55693f87c58c24b6866ed0f38c5470124be3df7.tar.gz
udev: drop the JUMPING_SEMI_MT quirk, no-one uses it
Obsolete since 342bc510164e89d7c9a742406fb98f9deabf5c8f when we disabled MT on all semi-mt touchpads. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'udev')
-rw-r--r--udev/libinput-model-quirks.c40
1 files changed, 0 insertions, 40 deletions
diff --git a/udev/libinput-model-quirks.c b/udev/libinput-model-quirks.c
index 728f182f..020be6a2 100644
--- a/udev/libinput-model-quirks.c
+++ b/udev/libinput-model-quirks.c
@@ -51,43 +51,6 @@ prop_value(struct udev_device *device,
return prop_value;
}
-static void
-handle_touchpad_synaptics(struct udev_device *device)
-{
- const char *product, *props;
- int bus, vid, pid, version;
- int prop;
-
- product = prop_value(device, "PRODUCT");
- if (!product)
- return;
-
- if (sscanf(product, "%x/%x/%x/%x", &bus, &vid, &pid, &version) != 4)
- return;
-
- if (bus != BUS_I8042 || vid != 0x2 || pid != 0x7)
- return;
-
- props = prop_value(device, "PROP");
- if (sscanf(props, "%x", &prop) != 1)
- return;
- if (prop & (1 << INPUT_PROP_SEMI_MT))
- printf("LIBINPUT_MODEL_JUMPING_SEMI_MT=1\n");
-}
-
-static void
-handle_touchpad(struct udev_device *device)
-{
- const char *name = NULL;
-
- name = prop_value(device, "NAME");
- if (!name)
- return;
-
- if (strstr(name, "Synaptics ") != NULL)
- handle_touchpad_synaptics(device);
-}
-
/**
* For a non-zero fuzz on the x/y axes, print that fuzz as property and
* reset the kernel's fuzz to 0.
@@ -165,9 +128,6 @@ int main(int argc, char **argv)
handle_absfuzz(device);
- if (prop_value(device, "ID_INPUT_TOUCHPAD"))
- handle_touchpad(device);
-
rc = 0;
out: