qemu-cr16/hw/input
ShengYi Hung 1c0f5142d9 hid: fix incorrect return value for hid
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>
2025-10-05 09:46:06 +03:00
..
adb-internal.h Supply missing header guards 2019-06-12 13:20:21 +02:00
adb-kbd.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
adb-mouse.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
adb.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
hid.c hid: fix incorrect return value for hid 2025-10-05 09:46:06 +03:00
Kconfig hw/input: Remove lm832x device 2024-10-01 14:41:10 +01:00
lasips2.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
meson.build hw/input: Remove lm832x device 2024-10-01 14:41:10 +01:00
pckbd.c qom: Make InterfaceInfo[] uses const 2025-04-25 17:00:41 +02:00
pl050.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
ps2.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
stellaris_gamepad.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
trace-events hw/input: Remove tsc2005 touchscreen controller 2024-10-01 14:40:30 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
virtio-input-hid.c qom: Have class_init() take a const data argument 2025-04-25 17:00:41 +02:00
virtio-input-host.c treewide: use qemu_set_blocking instead of g_unix_set_fd_nonblocking 2025-09-19 12:46:07 +01:00
virtio-input.c vhost-user: return failure if backend crash when live migration 2025-05-14 05:39:15 -04:00