quirks: add ModelBouncingKeys for Contour RollerMouse
authorChristoffer Holmstedt <christoffer.holmstedt@gmail.com>
Sun, 13 Jan 2019 09:37:04 +0000 (10:37 +0100)
committerChristoffer Holmstedt <christoffer.holmstedt@gmail.com>
Sun, 13 Jan 2019 09:37:04 +0000 (10:37 +0100)
The Contour RollerMouse have a button for "double click" which emulates
a double click. The two clicks are so close together that with libinput
heuristics it looks like a worn-out button and triggers debouncing
functionality.

This commit adds support for the RollerMouse Free 2 and RollerMouse
Re:d.

Fixes libinput/libinput#204

meson.build
quirks/30-vendor-contour.quirks [new file with mode: 0644]

index 4aad0ad967f779d9a4042b90d5db78fc1601d730..7f114a20312be7fa52aa7a1c0d43284c9a6e36ae 100644 (file)
@@ -251,6 +251,7 @@ quirks_data = [
        'quirks/10-generic-trackball.quirks',
        'quirks/30-vendor-aiptek.quirks',
        'quirks/30-vendor-alps.quirks',
+       'quirks/30-vendor-contour.quirks',
        'quirks/30-vendor-cyapa.quirks',
        'quirks/30-vendor-elantech.quirks',
        'quirks/30-vendor-huion.quirks',
diff --git a/quirks/30-vendor-contour.quirks b/quirks/30-vendor-contour.quirks
new file mode 100644 (file)
index 0000000..12773e5
--- /dev/null
@@ -0,0 +1,11 @@
+[Contour Design RollerMouse Free 2]
+MatchVendor=0x0b33
+MatchProduct=0x0401
+MatchUdevType=mouse
+ModelBouncingKeys=1
+
+[Contour Design RollerMouse Re:d]
+MatchVendor=0x0b33
+MatchProduct=0x1000
+MatchUdevType=mouse
+ModelBouncingKeys=1