Zephyr API 3.6.99
Loading...
Searching...
No Matches
usbd_hid.h File Reference

USBD HID device API header. More...

#include <stdint.h>
#include <zephyr/device.h>
#include <zephyr/usb/class/hid.h>

Go to the source code of this file.

Data Structures

struct  hid_device_ops
 HID device user callbacks. More...
 

Enumerations

enum  { HID_REPORT_TYPE_INPUT = 1 , HID_REPORT_TYPE_OUTPUT , HID_REPORT_TYPE_FEATURE }
 HID report types Report types used in Get/Set Report requests. More...
 

Functions

int hid_device_register (const struct device *dev, const uint8_t *const rdesc, const uint16_t rsize, const struct hid_device_ops *const ops)
 Register HID device report descriptor and user callbacks.
 
int hid_device_submit_report (const struct device *dev, const uint16_t size, const uint8_t *const report)
 Submit new input report.
 

Detailed Description

USBD HID device API header.