Lines Matching refs:dy
233 int32_t dy = 0;
290 dy -= hid_get_data(buf, len, &info->sc_loc_y);
330 if (dx || dy || dz || dt || dw ||
333 dx, dy, dz, dt, dw, buttons);
346 sc->sc_status.dy += dy;
359 * dx=dy=dz=buttons=0 before we add the event
364 (dx == 0) && (dy == 0) && (dz == 0) && (dt == 0) &&
371 ums_put_queue(sc, dx, dy, dz, dt, buttons);
373 ums_evdev_push(sc, dx, dy, dz, dt,
812 sc->sc_status.dy = 0;
873 ums_put_queue(struct ums_softc *sc, int32_t dx, int32_t dy,
883 if (dy > 254)
884 dy = 254;
885 if (dy < -256)
886 dy = -256;
899 buf[2] = dy >> 1;
901 buf[4] = dy - (dy >> 1);
917 ums_evdev_push(struct ums_softc *sc, int32_t dx, int32_t dy,
923 evdev_push_rel(sc->sc_evdev, REL_Y, -dy);
1119 sc->sc_status.dy = 0;
1123 if (status->dx || status->dy || status->dz /* || status->dt */ ) {