This series converts the next-kbd device to use
qemu_input_handler_register(), and then removes the now-unused legacy
qemu_add_kbd_event_handler() function.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
v4:
- Rebase onto master
- Remove extra zero entries from qcode_to_nextkbd_keycode[] array
- Move position of shift key logic as suggested by Daniel
- Add R-B tags from Thomas, Alex and Phil
v3:
- Rebase onto master
- Use Q_KEY_CODE__MAX for the size of qcode_to_nextkbd_keycode() array
- Fix shift key logic using example provided by Thomas
- Fix spelling of NEXTKBD_NO_KEY
- Add R-B tag from Alex for patch 2
v2:
- Rebase onto master
- Add patch 2 to remove the legacy qemu_add_kbd_event_handler()
function
Mark Cave-Ayland (2):
next-kbd: convert to use qemu_input_handler_register()
ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler()
function
hw/m68k/next-kbd.c | 163 ++++++++++++++++++++++++++++---------------
include/ui/console.h | 2 -
ui/input-legacy.c | 37 ----------
3 files changed, 108 insertions(+), 94 deletions(-)
--
2.39.5