Searched refs:delta_x (Results 1 – 1 of 1) sorted by relevance
108 int delta_x, delta_y; member164 sc->delta_x = 0; in movement_reset()171 sc->delta_x += x - sc->cur_x; in movement_update()188 if (sc->delta_x >= 0) { in movement_get()189 if (sc->delta_x > 255) { in movement_get()193 val1 = sc->delta_x; in movement_get()196 if (sc->delta_x < -255) { in movement_get()200 val1 = sc->delta_x; in movement_get()202 sc->delta_x = 0; in movement_get()239 sc->delta_x = 0; in ps2mouse_reset()