QemuInputEvent now stores Linux key codes for key events. Use those
codes directly instead of translating between internal key code
representations.
Signed-off-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <
20260520-input-v3-22-
7c9e4c7abe34@rsg.ci.i.u-tokyo.ac.jp>
/* send event to guest when grab is active */
if (il->grab_active && !input_linux_should_skip(il, event)) {
- int qcode = qemu_input_linux_to_qcode(event->code);
- qemu_input_event_send_key_qcode(NULL, qcode, event->value);
+ qemu_input_event_send_key_linux(NULL, event->code, event->value);
}
/* hotkey -> record switch request ... */