Home | History | Annotate | Download | only in hw

Lines Matching refs:dz1

285     int dx1, dy1, dz1;
289 dz1 = s->mouse_dz;
308 if (dz1 > 127)
309 dz1 = 127;
310 else if (dz1 < -127)
311 dz1 = -127;
312 ps2_queue(&s->common, dz1 & 0xff);
315 if (dz1 > 7)
316 dz1 = 7;
317 else if (dz1 < -7)
318 dz1 = -7;
319 b = (dz1 & 0x0f) | ((s->mouse_buttons & 0x18) << 1);
327 s->mouse_dz -= dz1;