Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bhyve/amd64/
H A Dps2mouse.c108 int delta_x, delta_y; member
165 sc->delta_y = 0; in movement_reset()
172 sc->delta_y += sc->cur_y - y; in movement_update()
204 if (sc->delta_y >= 0) { in movement_get()
205 if (sc->delta_y > 255) { in movement_get()
209 val2 = sc->delta_y; in movement_get()
212 if (sc->delta_y < -255) { in movement_get()
216 val2 = sc->delta_y; in movement_get()
218 sc->delta_y = 0; in movement_get()
240 sc->delta_y = 0; in ps2mouse_reset()