View | Details | Raw Unified | Return to bug 217783
Collapse All | Expand All

(-)b/sys/dev/cyapa/cyapa.c (-1 / +1 lines)
Lines 1455-1461 cyapa_raw_input(struct cyapa_softc *sc, struct cyapa_regs *regs, int freq) Link Here
1455
				sc->delta_x = sc->cap_resx;
1455
				sc->delta_x = sc->cap_resx;
1456
			if (sc->delta_x < -sc->cap_resx)
1456
			if (sc->delta_x < -sc->cap_resx)
1457
				sc->delta_x = -sc->cap_resx;
1457
				sc->delta_x = -sc->cap_resx;
1458
			if (sc->delta_y > sc->cap_resx)
1458
			if (sc->delta_y > sc->cap_resy)
1459
				sc->delta_y = sc->cap_resy;
1459
				sc->delta_y = sc->cap_resy;
1460
			if (sc->delta_y < -sc->cap_resy)
1460
			if (sc->delta_y < -sc->cap_resy)
1461
				sc->delta_y = -sc->cap_resy;
1461
				sc->delta_y = -sc->cap_resy;

Return to bug 217783