1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00

Re-add Microsoft Intellimouse 2.0 TWHEEL quirk.

Tested by:	Merritt Draney, Brian Cox
PR:		kern/123224
PR:		kern/123510
MFC after:	3 days
This commit is contained in:
Kai Wang 2008-08-18 16:29:13 +00:00
parent 0814f601e6
commit f8b6bf0448
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=181839

View File

@ -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) {