MCPcopy Create free account
hub / github.com/MHeironimus/ArduinoJoystickLibrary / getShortName

Method getShortName

src/DynamicHID/DynamicHID.cpp:73–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71}
72
73uint8_t DynamicHID_::getShortName(char *name)
74{
75 name[0] = 'H';
76 name[1] = 'I';
77 name[2] = 'D';
78 name[3] = 'A' + (descriptorSize & 0x0F);
79 name[4] = 'A' + ((descriptorSize >> 4) & 0x0F);
80 return 5;
81}
82
83void DynamicHID_::AppendDescriptor(DynamicHIDSubDescriptor *node)
84{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected