Commit Graph

6 Commits

Author SHA1 Message Date
lirent 8c878b6d77 vmctl: read-only held-state receipt for keys and pointer buttons
Add vmctl_key_held, vmctl_btn_held, vmctl_keys_snapshot and
vmctl_btns_snapshot, exposing the down-state each handle last actuated.
Two bitmaps in the handle (keys by evdev KEY_*, buttons by VMCTL_BTN_*)
are updated after a successful send in vmctl_batch_send; the send path
never reads them. VMCTL_KEY_CODE_MAX and VMCTL_KEYS_SNAPSHOT_BYTES give
callers the keys-snapshot buffer size.
v0.2.0
2026-06-18 22:51:36 +03:00
lirent c5fac9c077 Add MIT license v0.1.0 2026-06-17 18:41:34 +03:00
lirent 858a3cbbe7 vmctl: keep public header comments in English 2026-06-17 14:42:46 +03:00
lirent 329b12bf07 uinput: configurable device identity with fallback to built-in defaults
Add vmctl_uinput_id and an optional vmctl_config.uinput_id pointer. NULL keeps the built-in identity verbatim; a non-NULL config supplies all numeric fields literally, with the device name suffixed -A/-B for the dual-device mode.
2026-06-17 14:42:25 +03:00
lirent bb757b64cf build: compile vmctl as position-independent code (-fPIC) 2026-06-17 13:04:52 +03:00
lirent 9b75494380 vmctl: input-control library over QMP and Linux uinput
QMP client and driver, Linux uinput driver, keymap, open/power helpers, public header, and CMake build.
2026-06-17 12:55:36 +03:00