Lines Matching refs:dy
192 int32_t dy = 0;
249 dy = -hid_get_data(buf, len, &info->sc_loc_y);
283 if (dx || dy || dz || dt || dw ||
287 dx, dy, dz, dt, dw, buttons);
297 sc->sc_status.dy += dy;
310 * dx=dy=dz=buttons=0 before we add the event
315 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) &&
324 ums_put_queue(sc, dx, dy, dz, dt, buttons);
733 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy,
744 if (dy > 254)
745 dy = 254;
746 if (dy < -256)
747 dy = -256;
760 buf[2] = dy >> 1;
762 buf[4] = dy - (dy >> 1);
825 sc->sc_status.dy = 0;
952 sc->sc_status.dy = 0;
956 if (status->dx || status->dy || status->dz /* || status->dt */ ) {