HIDVirtualDevice
A virtual service to emulate a HID device connected to the system.
Declaration
actor HIDVirtualDeviceMentioned in
Overview
A HID device is a computer peripheral intended to provide direction to the system from human input. The specification is a broad, industry-wide standard maintained by the USB Implementers Forum.
A HIDVirtualDevice is an object that emulates a HID device connected to the system, without the need for a physical device. Such a tool can be used by an app to emulate a keyboard and dispatch HID reports to the system using dispatchInputReport(data:timestamp:) that signify key strokes, and could be received by a HIDDeviceClientlistening for such activity in other apps. The virtual device can also receive requests from the system using its HIDVirtualDeviceDelegate.