On 10/6/26 12:56, Marc-André Lureau wrote:
With both legacy mouse API consumers converted, the remaining
code in input-legacy.c (LED broadcast, index_from_key, qmp_send_key)
is not legacy-specific. Move it to ui/input.c and delete the file.

Clean up include/ui/console.h by removing the now-unused legacy
mouse API declarations (QEMUPutMouseEvent, QEMUPutMouseEntry,
QEMUPutKBDEvent, QEMUPutKbdEntry) and MOUSE_EVENT_* constants.

Signed-off-by: Marc-André Lureau <[email protected]>
---
  include/ui/console.h |  18 -----
  ui/input-legacy.c    | 221 ---------------------------------------------------
  ui/input.c           |  66 +++++++++++++++
  ui/ui-hmp-cmds.c     |   7 +-
  ui/meson.build       |   1 -
  5 files changed, 70 insertions(+), 243 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <[email protected]>

Reply via email to