Home
last modified time | relevance | path

Searched refs:resid_x (Results 1 – 1 of 1) sorted by relevance

/external/libvncserver/x11vnc/
Duinput.c509 static double resid_x = 0.0; variable
912 resid_x += fx - dxf; in ptr_rel()
916 if (resid_x <= -1.0 || resid_x >= 1.0 || resid_y <= -1.0 || resid_y >= 1.0) { in ptr_rel()
919 if (resid_x >= 1.0) { in ptr_rel()
920 dxf = (int) resid_x; in ptr_rel()
922 } else if (resid_x <= -1.0) { in ptr_rel()
923 dxf = -((int) (-resid_x)); in ptr_rel()
926 resid_x -= dxf; in ptr_rel()
936 …ntf(stderr, "*%s resid: dx dy: %d %d %f %f\n", accel > 1 ? "*" : " ", dxf, dyf, resid_x, resid_y); in ptr_rel()
1124 resid_x = 0.0; in uinput_pointer_command()