Searched refs:mse (Results 1 – 1 of 1) sorted by relevance
80 struct busmouse_data *mse = busmouse_data[mousedev]; in busmouse_add_movementbuttons() local83 spin_lock(&mse->lock); in busmouse_add_movementbuttons()84 changed = (dx != 0 || dy != 0 || mse->buttons != buttons); in busmouse_add_movementbuttons()89 mse->buttons = buttons; in busmouse_add_movementbuttons()90 mse->dxpos += dx; in busmouse_add_movementbuttons()91 mse->dypos += dy; in busmouse_add_movementbuttons()92 mse->ready = 1; 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()[all …]