Expand description
Touch, keyboard and hardware-button input.
The phone drops every synthetic HID event unless a displayservice media
stream is active, so an InputSession first starts a screen-sharing
stream (audio + video, the way Xcode’s Devices window does), throws the RTP
away, and then talks to the universal HID service.
The media-session bring-up is adapted from the coredevice_stream example
tool in jkcoxson/idevice (MIT, see LICENSE.idevice).
Structs§
Enums§
Functions§
- normalize
- Normalized HID coordinate (0..=65535) for a point in logical screen points.