JOYPART
i = USEC2TICKS(sc->timeout[JOYPART(dev)]);
if (JOYPART(dev) == 1)
c.x = x ? sc->x_off[JOYPART(dev)] + TICKS2USEC(t0 - x) : 0x80000000;
c.y = y ? sc->y_off[JOYPART(dev)] + TICKS2USEC(t0 - y) : 0x80000000;
int i = JOYPART(dev);
int i = JOYPART(dev);
int i = JOYPART(dev);