Searched refs:amimouse_lastx (Results 1 – 1 of 1) sorted by relevance
32 static int amimouse_lastx, amimouse_lasty; variable45 dx = nx - amimouse_lastx; in amimouse_interrupt()48 if (dx < -127) dx = (256 + nx) - amimouse_lastx; in amimouse_interrupt()49 if (dx > 127) dx = (nx - 256) - amimouse_lastx; in amimouse_interrupt()53 amimouse_lastx = nx; in amimouse_interrupt()77 amimouse_lastx = joy0dat & 0xff; in amimouse_open()