]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When detaching a [USB] keyboard, keys might still be pressed. Ensure
authorHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 28 Jan 2014 09:55:07 +0000 (09:55 +0000)
committerHans Petter Selasky <hselasky@FreeBSD.org>
Tue, 28 Jan 2014 09:55:07 +0000 (09:55 +0000)
commit1c006b57f61831457d9199728ac1780bf6d38a4f
tree3ba87b891e10f5abe706bf96c670f7b3cf73e5c6
parent979d76c94876df7d7b10c79d1b3c33b04143eb70
When detaching a [USB] keyboard, keys might still be pressed. Ensure
that all pressed keys are released before completing the USB keyboard
detach. This will prevent so-called "ghost-keys" from appearing after
that the USB device generating the key event(s) has been detached.

MFC after: 1 week
sys/dev/usb/input/ukbd.c