Searched refs:dz1 (Results 1 – 2 of 2) sorted by relevance
285 int dx1, dy1, dz1; in ps2_mouse_send_packet() local289 dz1 = s->mouse_dz; in ps2_mouse_send_packet()308 if (dz1 > 127) in ps2_mouse_send_packet()309 dz1 = 127; in ps2_mouse_send_packet()310 else if (dz1 < -127) in ps2_mouse_send_packet()311 dz1 = -127; in ps2_mouse_send_packet()312 ps2_queue(&s->common, dz1 & 0xff); in ps2_mouse_send_packet()315 if (dz1 > 7) in ps2_mouse_send_packet()316 dz1 = 7; in ps2_mouse_send_packet()317 else if (dz1 < -7) in ps2_mouse_send_packet()[all …]
416 int dx1, int dy1, int dz1, int buttons_state) in usb_mouse_event() argument423 s->dz += dz1; in usb_mouse_event()