summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ums.c
diff options
context:
space:
mode:
authorkaiw <kaiw@FreeBSD.org>2008-08-18 16:29:13 +0000
committerkaiw <kaiw@FreeBSD.org>2008-08-18 16:29:13 +0000
commitfa05df0f2cd260f569336891154ab78f3a107b10 (patch)
tree68c6655f4fb2a03cd9d7d2beb1a0faebe8a8c80e /sys/dev/usb/ums.c
parentd0e3d12c5417b8b9b723141a5c1fa5c2d56c9854 (diff)
downloadFreeBSD-src-fa05df0f2cd260f569336891154ab78f3a107b10.zip
FreeBSD-src-fa05df0f2cd260f569336891154ab78f3a107b10.tar.gz
Re-add Microsoft Intellimouse 2.0 TWHEEL quirk.
Tested by: Merritt Draney, Brian Cox PR: kern/123224 PR: kern/123510 MFC after: 3 days
Diffstat (limited to 'sys/dev/usb/ums.c')
-rw-r--r--sys/dev/usb/ums.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c
index 0150a6f..0e7d533 100644
--- a/sys/dev/usb/ums.c
+++ b/sys/dev/usb/ums.c
@@ -283,6 +283,9 @@ ums_attach(device_t self)
/* Try the wheel first as the Z activator since it's tradition. */
wheel = hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
HUG_WHEEL),
+ hid_input, &sc->sc_loc_z, &flags) ||
+ hid_locate(desc, size, HID_USAGE2(HUP_GENERIC_DESKTOP,
+ HUG_TWHEEL),
hid_input, &sc->sc_loc_z, &flags);
if (wheel) {
OpenPOWER on IntegriCloud