Lines Matching refs:dxpos
48 int dxpos; member
90 mse->dxpos += dx; in busmouse_add_movementbuttons()
99 if (mse->dxpos < -2048) in busmouse_add_movementbuttons()
100 mse->dxpos = -2048; in busmouse_add_movementbuttons()
101 if (mse->dxpos > 2048) in busmouse_add_movementbuttons()
102 mse->dxpos = 2048; in busmouse_add_movementbuttons()
223 mse->dxpos = 0; in busmouse_open()
242 int dxpos, dypos, buttons; in busmouse_read() local
279 dxpos = mse->dxpos; in busmouse_read()
283 if (dxpos < -127) in busmouse_read()
284 dxpos =- 127; in busmouse_read()
285 if (dxpos > 127) in busmouse_read()
286 dxpos = 127; in busmouse_read()
292 mse->dxpos -= dxpos; in busmouse_read()
300 mse->ready = mse->dxpos || mse->dypos; in busmouse_read()
310 put_user((char)dxpos, buffer + 1) || in busmouse_read()