Expand description
System-wide input simulation — programmatically inject keyboard and mouse events into the OS input stream, as if typed or clicked by a physical user.
This is the “output” counterpart to crate::input (capture). Together
they enable device-remapping / macro / automation scenarios — the
“keyboard driver / mouse driver” side of a Logitech G-Hub-style tool:
observe raw input via crate::input::GlobalInput, then re-emit (or
transform) it via InputSimulator.
- Windows:
SendInputwithKEYBDINPUT/MOUSEINPUTstructures. - macOS: a
CGEvent-based implementation (pending real macOS build; the current target returnscrate::error::RdesktopError::UnsupportedPlatform).
Structs§
- Input
Simulator - Platform-independent input simulator.