Lines Matching refs:dypos
49 int dypos; member
91 mse->dypos += dy; in busmouse_add_movementbuttons()
103 if (mse->dypos < -2048) in busmouse_add_movementbuttons()
104 mse->dypos = -2048; in busmouse_add_movementbuttons()
105 if (mse->dypos > 2048) in busmouse_add_movementbuttons()
106 mse->dypos = 2048; in busmouse_add_movementbuttons()
224 mse->dypos = 0; in busmouse_open()
242 int dxpos, dypos, buttons; in busmouse_read() local
280 dypos = mse->dypos; in busmouse_read()
287 if (dypos < -127) in busmouse_read()
288 dypos =- 127; in busmouse_read()
289 if (dypos > 127) in busmouse_read()
290 dypos = 127; in busmouse_read()
293 mse->dypos -= dypos; in busmouse_read()
300 mse->ready = mse->dxpos || mse->dypos; in busmouse_read()
311 put_user((char)dypos, buffer + 2)) in busmouse_read()