qmk_firmware/internals_udi_hid_group.md
2020-11-10 15:02:44 +00:00

1.5 KiB

group udi_hid_group

Common library for all Human Interface Device (HID) implementation.

Summary

Members Descriptions
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 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.