1# hid_ddk_api.h
2
3
4## Overview
5
6Declares the HID DDK functions for accessing an input device from the host.
7
8File to include: <hid/hid_ddk_api.h>
9
10**Since**: 11
11
12**Related module**: [HID DDK](_hid_ddk.md)
13
14
15## Summary
16
17
18### Functions
19
20| Name| Description|
21| -------- | -------- |
22| [OH_Hid_CreateDevice](_hid_ddk.md#oh_hid_createdevice) ([Hid_Device](_hid___device.md) \*hidDevice, [Hid_EventProperties](_hid___event_properties.md) \*hidEventProperties) | Creates a device. |
23| [OH_Hid_EmitEvent](_hid_ddk.md#oh_hid_emitevent) (int32_t deviceId, const [Hid_EmitItem](_hid___emit_item.md) items[], uint16_t length) | Sends an event list to a device. |
24| [OH_Hid_DestroyDevice](_hid_ddk.md#oh_hid_destroydevice) (int32_t deviceId) | Destroys a device. |
25