qmk_firmware/internals/raw_hid.md

1.2 KiB

group raw_hid

Summary

Members Descriptions
public void raw_hid_receive(uint8_t * data,uint8_t length) Callback, invoked when a raw HID report has been received from the host.
public void raw_hid_send(uint8_t * data,uint8_t length) Send an HID report.

Members

public void raw_hid_receive(uint8_t * data,uint8_t length)

Callback, invoked when a raw HID report has been received from the host.

Parameters

  • data A pointer to the received data. Always 32 bytes in length.

  • length The length of the buffer. Always 32.

public void raw_hid_send(uint8_t * data,uint8_t length)

Send an HID report.

Parameters

  • data A pointer to the data to send. Must always be 32 bytes in length.

  • length The length of the buffer. Must always be 32.