xenfb: Use Input Handlers directly
authorOwen Smith <owen.smith@citrix.com>
Fri, 3 Nov 2017 11:56:29 +0000 (11:56 +0000)
committerStefano Stabellini <sstabellini@kernel.org>
Thu, 14 Dec 2017 23:24:33 +0000 (15:24 -0800)
commita1ccbafdedb1a66ad4100d713d55d4eaea54df82
tree5c1765dfc2f2dbed0baaf5f65abf81dd58a51c6a
parentde80d78594b4c3767a12d8d42debcf12cbf85a5b
xenfb: Use Input Handlers directly

Avoid the unneccessary calls through the input-legacy.c file by
using the qemu_input_handler_*() calls directly. This did require
reworking the event and sync handlers to use the reverse mapping
from qcode to linux using qemu_input_qcode_to_linux().
Removes the scancode2linux mapping, and supporting documention.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
hw/display/xenfb.c