mirror of
https://github.com/gnif/LookingGlass.git
synced 2026-08-22 23:21:29 +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:
@@ -29,6 +29,7 @@
|
||||
#define PS2_VOLUME_DOWN 0xE02E
|
||||
|
||||
extern const uint32_t linux_to_ps2[KEY_MAX];
|
||||
extern const uint8_t linux_to_hid[KEY_MAX];
|
||||
extern const char * linux_to_str[KEY_MAX];
|
||||
extern const char * linux_to_display[KEY_MAX];
|
||||
extern const int linux_to_imgui[KEY_MAX];
|
||||
|
||||
Reference in New Issue
Block a user