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

(-)sys/dev/usb/input/wsp.c (-1 / +6 lines)
Lines 929-935 Link Here
929
		sc->sc_status.button = 0;
929
		sc->sc_status.button = 0;
930
930
931
		if (ibt != 0) {
931
		if (ibt != 0) {
932
			sc->sc_status.button |= MOUSE_BUTTON1DOWN;
932
			if (params->caps & HAS_INTEGRATED_BUTTON && ntouch == 2)
933
				sc->sc_status.button |= MOUSE_BUTTON3DOWN;
934
			else if (params->caps & HAS_INTEGRATED_BUTTON && ntouch == 3)
935
				sc->sc_status.button |= MOUSE_BUTTON2DOWN;
936
			else 
937
				sc->sc_status.button |= MOUSE_BUTTON1DOWN;
933
			sc->ibtn = 1;
938
			sc->ibtn = 1;
934
		}
939
		}
935
		sc->intr_count++;
940
		sc->intr_count++;

Return to bug 226961