]> git.proxmox.com Git - mirror_qemu.git/commit - ui/input-legacy.c
input: keyboard: switch legacy handlers to new core
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 27 Nov 2013 10:59:25 +0000 (11:59 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Wed, 5 Mar 2014 08:50:17 +0000 (09:50 +0100)
commit9784e5793000f27cf4b506511fedf207dcf8521c
tree5777e6b7af823d265ed45391e78bb10f41689e9e
parent6567147588fabd87c1b633cc35760d45b71b8d41
input: keyboard: switch legacy handlers to new core

legacy kbd event handlers are registered in the new core,
so they receive events from the new input core code.
keycode -> scancode translation needed here.

legacy kbd_put_keycode() sends events to the new core.
scancode -> keycode translation needed here.

So with this patch the new input core is fully functional
for keyboard events.  New + legacy interfaces can be mixed
in any way.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
ui/input-legacy.c