PERFORCE change 118539 for review
Rui Paulo
rpaulo at FreeBSD.org
Sat Apr 21 19:12:26 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=118539
Change 118539 by rpaulo at rpaulo_epsilon on 2007/04/21 19:11:43
Use proper tabs.
Affected files ...
.. //depot/projects/soc2007/rpaulo-macbook/dev/usb/ums.c#3 edit
Differences ...
==== //depot/projects/soc2007/rpaulo-macbook/dev/usb/ums.c#3 (text+ko) ====
@@ -267,7 +267,7 @@
USB_ATTACH_ERROR_RETURN;
}
- /* Try the wheel first as the Z activator since it's tradition. */
+ /* 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);
@@ -503,9 +503,9 @@
dx = hid_get_data(ibuf, &sc->sc_loc_x);
dy = -hid_get_data(ibuf, &sc->sc_loc_y);
dz = -hid_get_data(ibuf, &sc->sc_loc_z);
- dw = hid_get_data(ibuf, &sc->sc_loc_w);
- if (sc->flags & UMS_REVZ)
- dz = -dz;
+ dw = hid_get_data(ibuf, &sc->sc_loc_w);
+ if (sc->flags & UMS_REVZ)
+ dz = -dz;
if (sc->flags & UMS_T)
dt = -hid_get_data(ibuf, &sc->sc_loc_t);
else
More information about the p4-projects
mailing list