MCPcopy Create free account
hub / github.com/BruceDevices/firmware / _onGetDescriptor

Method _onGetDescriptor

lib/Bad_Usb_Lib/USBHIDKeyboard.cpp:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55uint16_t USBHIDKeyboard::_onGetDescriptor(uint8_t *dst) {
56 memcpy(dst, report_descriptor, sizeof(report_descriptor));
57 return sizeof(report_descriptor);
58}
59
60void USBHIDKeyboard::begin(const uint8_t *layout) {
61 _asciimap = layout;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected