next-kbd: convert to use qemu_input_handler_register()
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Wed, 6 Nov 2024 12:09:27 +0000 (12:09 +0000)
committerThomas Huth <thuth@redhat.com>
Fri, 8 Nov 2024 10:05:55 +0000 (11:05 +0100)
commit44e21ef055c4a9beef8766ca9a2c3bd32da664f1
treeae90e50c1dbcb880d27d4ffa86bdc98dc0dcf6b6
parent7a383b993e63d5ddbda6630d98fae52879728c7f
next-kbd: convert to use qemu_input_handler_register()

Convert the next-kbd device from the legacy UI qemu_add_kbd_event_handler()
function to use qemu_input_handler_register().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Thomas Huth <huth@tuxfamily.org>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Message-ID: <20241106120928.242443-2-mark.cave-ayland@ilande.co.uk>
[thuth: Removed the NEXTKBD_NO_KEY definition - replaced by 0 now]
Signed-off-by: Thomas Huth <thuth@redhat.com>
hw/m68k/next-kbd.c