I don't know if this is coincidence, but this is my case:
I plug UPS HID device (CyberPower or APC) as an only HID device in the whole system, and hid_enumerate returns nullptr.
When I plug USB keyboard as a second device, hid_enumerate enumerates both - keyboard and UPS.
On Linux and exactly the same machine it works fine.
I don't know if this is coincidence, but this is my case:
I plug UPS HID device (CyberPower or APC) as an only HID device in the whole system, and
hid_enumeratereturnsnullptr.When I plug USB keyboard as a second device,
hid_enumerateenumerates both - keyboard and UPS.On Linux and exactly the same machine it works fine.