mirror of
https://gitlab.com/qemu-project/qemu.git
synced 2026-08-26 22:23:12 -04:00
The return value of hid_keyboard_write is used to set the packet's actual_length
and pass to xhci directly to allow guest know how many byte actually processed.
Therefore, return 1 to indicate a successful transfer or it will be
considered as a wrong xfer.
Signed-off-by: ShengYi Hung <aokblast@FreeBSD.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| adb-internal.h | ||
| adb-kbd.c | ||
| adb-mouse.c | ||
| adb.c | ||
| hid.c | ||
| Kconfig | ||
| lasips2.c | ||
| meson.build | ||
| pckbd.c | ||
| pl050.c | ||
| ps2.c | ||
| stellaris_gamepad.c | ||
| trace-events | ||
| trace.h | ||
| virtio-input-hid.c | ||
| virtio-input-host.c | ||
| virtio-input.c | ||