i tried compiling your project to see if you manage to rename hid device what i read somewhere
Thinking i wanned to make a fork for ArduinoJoystickLibrary being able to set device name and vendor and serial name
would be very awesome.
but i get a compilations errors.
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `HIDPowerDevice_::setFeature(unsigned int, void const*, int) [clone .constprop.30]':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:263: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:263: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `HIDPowerDevice_::setStringFeature(unsigned char, unsigned char const*, char const*) [clone .constprop.29]':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:268: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:268: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:272: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:272: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `global constructors keyed to 65535_0_HIDPowerDevice.cpp.o.2156':
<artificial>:(.text.startup+0x76): undefined reference to `HID()'
<artificial>:(.text.startup+0x7e): undefined reference to `HID_::AppendDescriptor(HIDSubDescriptor*)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `begin':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:232: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:232: undefined reference to `HID_::begin()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:236: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:236: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:237: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:237: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:238: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:238: undefined reference to `HID_::SetFeature(unsigned int, void const*, int)'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `setSerial':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:247: undefined reference to `HID()'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `setOutput':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:243: undefined reference to `HID()'
C:\Users\Pascal\AppData\Local\Temp\ccG1kOv9.ltrans0.ltrans.o: In function `sendReport':
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID()'
C:\Users\Pascal\Downloads\HIDPowerDevice-master\HIDPowerDevice-master\src\UPS/HIDPowerDevice.cpp:259: undefined reference to `HID_::SendReport(unsigned int, void const*, int)'
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board Arduino Micro.