diff options
author | kaiw <kaiw@FreeBSD.org> | 2008-08-18 16:29:13 +0000 |
---|---|---|
committer | kaiw <kaiw@FreeBSD.org> | 2008-08-18 16:29:13 +0000 |
commit | fa05df0f2cd260f569336891154ab78f3a107b10 (patch) | |
tree | 68c6655f4fb2a03cd9d7d2beb1a0faebe8a8c80e /sys/dev | |
parent | d0e3d12c5417b8b9b723141a5c1fa5c2d56c9854 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/usb/ums.c | 3 |
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) { |