hid_ddk_api.h
Overview
Declares the HID DDK functions for accessing an input device from the host.
File to include: <hid/hid_ddk_api.h>
Since: 11
Related module: HID DDK
Summary
Functions
Name | Description |
---|---|
OH_Hid_CreateDevice (Hid_Device *hidDevice, Hid_EventProperties *hidEventProperties) | Creates a device. |
OH_Hid_EmitEvent (int32_t deviceId, const Hid_EmitItem items[], uint16_t length) | Sends an event list to a device. |
OH_Hid_DestroyDevice (int32_t deviceId) | Destroys a device. |