diff options
author | NicoHood <NicoHood@users.noreply.github.com> | 2015-10-07 19:11:23 +0200 |
---|---|---|
committer | NicoHood <NicoHood@users.noreply.github.com> | 2015-10-07 20:37:05 +0200 |
commit | c4fb153142502646f2441986cb7be95ca7d964a9 (patch) | |
tree | 57a388f57cf7d923bc352778af9646264d12263a /cores/arduino/USBCore.h | |
parent | dfe89ddd015f072e279d38354d60e4882c15bdb0 (diff) |
[PHID] Added SetReport function
This commit just shows other that this option is available and not implemented.
You may use this to determine the Led Lights state of a keyboard or transmit data via RAWHID from the PC.
Quick usage guide:
int length = ((setup.wValueH << 8) | setup.wLength);
USB_RecvControl((uint8_t* data, USB_EP_SIZE); // Needs to be splitted into USB_EP_SIZE packets, not shown here. See HID Project.
Diffstat (limited to 'cores/arduino/USBCore.h')
0 files changed, 0 insertions, 0 deletions