Lines Matching refs:dx
962 linacc(int dx, int dy, int *movex, int *movey) in linacc() argument
966 if (dx == 0 && dy == 0) { in linacc()
970 fdx = dx * rodent.accelx + rodent.remainx; in linacc()
988 expoacc(int dx, int dy, int *movex, int *movey) in expoacc() argument
993 if (dx == 0 && dy == 0) { in expoacc()
997 fdx = dx * rodent.accelx; in expoacc()
1092 action0.dx = action0.dy = action0.dz = 0; in moused()
1181 action2.button, action2.dx, action2.dy, action2.dz); in moused()
1190 if (action2.dy || action2.dx) { in moused()
1200 hscroll_movement += action2.dx; in moused()
1225 hscroll_movement += action2.dx; in moused()
1239 action2.dx = action2.dy = 0; in moused()
1252 drift_last.x += action2.dx; in moused()
1260 drift_last.x = action2.dx; in moused()
1267 action2.dx = drift_previous.x + drift_last.x; in moused()
1291 expoacc(action2.dx, action2.dy, in moused()
1295 linacc(action2.dx, action2.dy, in moused()
1307 expoacc(action2.dx, action2.dy, in moused()
1311 linacc(action2.dx, action2.dy, in moused()
1327 action.dx = action.dy = action.dz = 0; in moused()
1330 action2.button, action2.dx, action2.dy, action2.dz); in moused()
2005 act->dx = act->dy = act->dz = 0; in r_protocol()
2029 act->dx = act->dy = 0; in r_protocol()
2039 act->dx = act->dy = act->dz = 0; in r_protocol()
2046 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0) in r_protocol()
2094 act->dx = (signed char)(((pBuf[0] & 0x03) << 6) | (pBuf[1] & 0x3F)); in r_protocol()
2104 act->dx = (signed char)(((pBuf[0] & 0x03) << 6) | (pBuf[1] & 0x3F)); in r_protocol()
2113 act->dx = (signed char)(pBuf[1]) + (signed char)(pBuf[3]); in r_protocol()
2130 act->dx = (pBuf[0] & MOUSE_MM_XPOSITIVE) ? pBuf[1] : - pBuf[1]; in r_protocol()
2137 act->dx = (pBuf[0] & MOUSE_MM_XPOSITIVE) ? pBuf[1] : - pBuf[1]; in r_protocol()
2144 act->dx = act->dy = 0; in r_protocol()
2156 act->dx = prev_x - x; in r_protocol()
2168 act->dx = (signed char)pBuf[1]; in r_protocol()
2174 act->dx = (pBuf[0] & MOUSE_PS2_XNEG) ? pBuf[1] - 256 : pBuf[1]; in r_protocol()
2209 && (abs(act->dx) > 191) in r_protocol()
2215 act->dx = act->dy = 0; in r_protocol()
2234 act->dx = act->dy = 0; in r_protocol()
2255 act->dx = act->dy = 0; in r_protocol()
2287 act->dx = act->dy = 0; in r_protocol()
2299 act->dx = prev_x - x; in r_protocol()
2308 act->dx = (pBuf[1] & 0x80) ? pBuf[1] - 256 : pBuf[1]; in r_protocol()
2326 if ((act->dx < 16 - 256) && (act->dy > 256 - 16)) { in r_protocol()
2327 act->dx = act->dy = 0; in r_protocol()
2345 act->dx = (signed char)(pBuf[1]) + (signed char)(pBuf[3]); in r_protocol()
2362 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0) in r_protocol()
2374 a2->dx = a1->dx; in r_statetrans()
2393 if ((a2->dx != 0 || a2->dy != 0) && in r_statetrans()
2401 a2->dx = a2->dy = 0; in r_statetrans()
2494 act1->dx = 0; in r_map()
2497 act2->dx = act1->dx; in r_map()
2506 act2->dx = act1->dz; in r_map()
2542 act2->flags = ((act2->dx || act2->dy || act2->dz) ? MOUSE_POSCHANGED : 0) in r_map()
3264 act->dx = act->dy = act->dz = 0; in kidspad()
3274 act->dx = x - x_prev; in kidspad()
3276 if (act->dx || act->dy) in kidspad()
3329 act->dx = act->dy = act->dz = 0; in gtco_digipad()
3340 act->dx = x - x_prev; in gtco_digipad()
3342 if (act->dx || act->dy) in gtco_digipad()