Date: Mon, 8 Nov 1999 15:58:33 -0800 (PST) From: Nick Hibma <n_hibma@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/usb ums.c usb_quirks.c usb_quirks.h Message-ID: <199911082358.PAA90719@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
n_hibma 1999/11/08 15:58:33 PST
Modified files:
sys/dev/usb ums.c usb_quirks.c usb_quirks.h
Log:
The Qtronix keyboard has a built in PS/2 port for a mouse.
It however posts a bogus button up event once in a while. Whenever
we receive dx=dy=dz=buttons=0 we postpone adding it to the queue for
50msecs with a timeout. If in the meantime something else is posted
the event is ignored.
This avoids the problem Nik Sayer reported. He noticed that X windows
would drop and pick up a window once in a while.
Thanks, Nik, for supplying me with the keyboard to fix the problem!
Revision Changes Path
1.33 +101 -53 src/sys/dev/usb/ums.c
1.11 +2 -1 src/sys/dev/usb/usb_quirks.c
1.8 +2 -1 src/sys/dev/usb/usb_quirks.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911082358.PAA90719>
