]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
kbd: make enqueue_key public, add ascii_to_keycode
authorGerd Hoffmann <kraxel@redhat.com>
Mon, 18 Sep 2017 08:47:20 +0000 (10:47 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Fri, 22 Sep 2017 15:13:22 +0000 (11:13 -0400)
commit90fa511527146dc098c39612478e61cdd3e1dc82
tree82de4451419613adc514af7a5215171e24d9bf12
parent44270bc1d285ff09981adef36ba1a2c525e79d09
kbd: make enqueue_key public, add ascii_to_keycode

serial console wants queue key events and needs to map ascii chars to
the keycode, so make enqueue_key public and also exports a helper
function so sercon can use the scan_to_keycode mapping table.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
src/kbd.c
src/util.h