Add a field to the keyboard abstraction structure that allows the USB
commitd93afd19794a49c9ead9e2012619cd646bf0f0ae
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 6 Jun 2007 18:49:28 +0000 (6 18:49 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 6 Jun 2007 18:49:28 +0000 (6 18:49 +0000)
tree0909add9751ecb455c3338225fb9dcbdf87dad1f
parentfa4caad0aa71c70c666187eca4d9adffa7722b56
Add a field to the keyboard abstraction structure that allows the USB
keyboard controller to save and restore the translation state.  This
allows you to disconnect and reconnect a USB keyboard and not get
gibberish when you type.

Reported-by: Petr Janda <elekktretterr@exemail.com.au>
sys/dev/misc/kbd/kbdreg.h
sys/dev/usbmisc/ukbd/ukbd.c