qmk_firmware/internals_udi_hid_group_internal.md

1.7 KiB

group udi_hid_group_internal

Summary

Members Descriptions
public static bool udi_hid_reqstdifaceget_descriptor(uint8_t * report_desc) Send the specific descriptors requested by SETUP request.
public bool udi_hid_setup(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report) Decode HID setup request.

Members

public static bool udi_hid_reqstdifaceget_descriptor(uint8_t * report_desc)

Send the specific descriptors requested by SETUP request.

Parameters

  • true if the descriptor is supported

public bool udi_hid_setup(uint8_t * rate,uint8_t * protocol,uint8_t * report_desc,bool(*)(void) setup_report)

Decode HID setup request.

Parameters

  • rate Pointer on rate of current HID interface

  • protocol Pointer on protocol of current HID interface

  • report_desc Pointer on report descriptor of current HID interface

  • set_report Pointer on set_report callback of current HID interface

Returns

1 if function was successfully done, otherwise 0.