qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/2] next-kbd: convert to use qemu_input_handler_register()
@ 2024-11-06 12:09 Mark Cave-Ayland
  2024-11-06 12:09 ` [PATCH v4 1/2] " Mark Cave-Ayland
  2024-11-06 12:09 ` [PATCH v4 2/2] ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function Mark Cave-Ayland
  0 siblings, 2 replies; 14+ messages in thread
From: Mark Cave-Ayland @ 2024-11-06 12:09 UTC (permalink / raw)
  To: peter.maydell, huth, berrange, qemu-devel

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



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-11-08 19:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06 12:09 [PATCH v4 0/2] next-kbd: convert to use qemu_input_handler_register() Mark Cave-Ayland
2024-11-06 12:09 ` [PATCH v4 1/2] " Mark Cave-Ayland
2024-11-06 12:21   ` Daniel P. Berrangé
2024-11-06 13:00   ` BALATON Zoltan
2024-11-06 15:50     ` Philippe Mathieu-Daudé
2024-11-06 20:32       ` BALATON Zoltan
2024-11-08 10:05         ` Thomas Huth
2024-11-08 12:26           ` Mark Cave-Ayland
2024-11-08 13:13           ` BALATON Zoltan
2024-11-08 13:24             ` BALATON Zoltan
2024-11-08 13:36               ` Thomas Huth
2024-11-08 15:45             ` Philippe Mathieu-Daudé
2024-11-08 19:57               ` BALATON Zoltan
2024-11-06 12:09 ` [PATCH v4 2/2] ui/input-legacy.c: remove unused legacy qemu_add_kbd_event_handler() function Mark Cave-Ayland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).