Lines Matching refs:dz

1066 	    action0.dx = action0.dy = action0.dz = 0;
1154 debug("activity : buttons 0x%08x dx %d dy %d dz %d",
1155 action2.button, action2.dx, action2.dy, action2.dz);
1189 action2.dz = -1;
1194 action2.dz = 1;
1203 action2.dz = -2;
1207 action2.dz = 2;
1218 if ((flags & MOUSE_POSCHANGED) == 0 || action.dz || action2.dz)
1272 mouse.u.data.z = action2.dz;
1288 mouse.u.data.z = action2.dz;
1299 if ((rodent.zmap[0] > 0) && (action.dz != 0)) {
1301 action.dx = action.dy = action.dz = 0;
1303 debug("activity : buttons 0x%08x dx %d dy %d dz %d",
1304 action2.button, action2.dx, action2.dy, action2.dz);
1971 act->dx = act->dy = act->dz = 0;
1996 act->dz = (rBuf & 0x08) ? (rBuf & 0x0f) - 16 : (rBuf & 0x0f);
1997 if ((act->dz >= 7) || (act->dz <= -7))
1998 act->dz = 0;
2005 act->dx = act->dy = act->dz = 0;
2012 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0)
2033 act->dz = 0;
2085 act->dz = -1;
2087 act->dz = 1;
2147 act->dz = (pBuf[3] & MOUSE_EXPLORER_ZNEG)
2157 act->dz = (signed char)pBuf[3];
2158 if ((act->dz >= 7) || (act->dz <= -7))
2159 act->dz = 0;
2179 act->dz = (pBuf[2] & MOUSE_PS2PLUS_ZNEG)
2196 act->dz = (pBuf[2] & MOUSE_SPOINT_WNEG) ? -2 : 2;
2199 act->dz = (pBuf[2] & MOUSE_SPOINT_ZNEG) ? -1 : 1;
2202 act->dz = (pBuf[2] & MOUSE_SPOINT_ZNEG)
2236 act->dz = (pBuf[3] & MOUSE_PS2_XNEG) ? pBuf[4] - 256 : pBuf[4];
2271 act->dz = 1;
2274 act->dz = -1;
2277 act->dz = 2;
2280 act->dz = -2;
2289 act->dz = (pBuf[2] & MOUSE_4DPLUS_ZNEG)
2307 act->dz = ((signed char)(pBuf[5] << 1) + (signed char)(pBuf[6] << 1)) >> 1;
2321 act->flags = ((act->dx || act->dy || act->dz) ? MOUSE_POSCHANGED : 0)
2335 a2->dz = a1->dz;
2452 act1->dz = act1->dy;
2458 act2->dz = act1->dz;
2464 if (act1->dz != 0) {
2465 act2->dx = act1->dz;
2466 act2->dz = 0;
2470 if (act1->dz != 0) {
2471 act2->dy = act1->dz;
2472 act2->dz = 0;
2478 if ((act1->dz < -1) && rodent.zmap[2]) {
2481 } else if (act1->dz < 0) {
2484 } else if ((act1->dz > 1) && rodent.zmap[3]) {
2487 } else if (act1->dz > 0) {
2491 act2->dz = 0;
2501 act2->flags = ((act2->dx || act2->dy || act2->dz) ? MOUSE_POSCHANGED : 0)
3223 act->dx = act->dy = act->dz = 0;
3288 act->dx = act->dy = act->dz = 0;