Date: Sat, 21 Apr 2007 19:12:25 GMT From: Rui Paulo <rpaulo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 118539 for review Message-ID: <200704211912.l3LJCPLj046551@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=118539 Change 118539 by rpaulo@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704211912.l3LJCPLj046551>