Lines Matching defs:dx
853 int dx = 0;
1046 dx = sc->pos_x[0] - sc->pre_pos_x;
1051 dx = dy = 0;
1055 dx = dy = 0;
1059 dx = dy = 0;
1064 dx = dy = 0;
1067 dx = sc->pos_x[sc->finger] - sc->pre_pos_x;
1076 dx = dy = 0;
1083 dx = dy = 0;
1090 dx = dy = 0;
1093 DPRINTFN(WSP_LLEVEL_INFO, "dx=%5d, dy=%5d, mov=%5d\n",
1094 dx, dy, sc->finger);
1104 rdx = (dx + sc->rdx) % tun.scale_factor;
1105 dx = (dx + sc->rdx) / tun.scale_factor;
1112 sc->dx_sum += dx;
1123 sc->dt_sum += dx;
1127 dx = dy = 0;
1136 dx = dy = dz = 0;
1138 abs(dx) < 3 && abs(dy) < 3 && abs(dz) < 3)
1139 dx = dy = dz = 0;
1142 if (dx || dy || dz)
1144 DPRINTFN(WSP_LLEVEL_INFO, "dx=%5d, dy=%5d, dz=%5d, sc_touch=%x, btn=%x\n",
1145 dx, dy, dz, sc->sc_touch, sc->sc_status.button);
1146 sc->sc_status.dx += dx;
1150 wsp_add_to_queue(sc, dx, -dy, dz, sc->sc_status.button);
1187 wsp_add_to_queue(struct wsp_softc *sc, int dx, int dy, int dz,
1193 dx = imin(dx, 254);
1194 dx = imax(dx, -256);
1211 buf[1] = dx >> 1;
1213 buf[3] = dx - (dx >> 1);
1372 sc->sc_status.dx = 0;
1376 if (status->dx || status->dy || status->dz)