mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-09 00:31:31 +00:00
[client] input: send reports over LGMP
Use the LGMP input queue when the host advertises transport input, while preserving SPICE fallback through the existing input abstraction. Claim input lazily, publish ordered full-state keyboard and mouse reports without blocking rendering, and keep the owner lease alive. Reserve queue capacity for discrete transitions, coalesce only motion under pressure, and release ownership safely during idle and disconnect. Keep the Linux-to-HID map in the client and update LGMP to the nonblocking data-send API required by the input worker.
This commit is contained in:
@@ -19,6 +19,7 @@ set_tests_properties(font-tests PROPERTIES
|
||||
|
||||
add_executable(lgmp-transport-tests
|
||||
lgmp_transport_test.c
|
||||
../src/kb_hid.c
|
||||
)
|
||||
target_link_libraries(lgmp-transport-tests
|
||||
${EXE_FLAGS}
|
||||
|
||||
Reference in New Issue
Block a user