Seems hidraw is exclusive to Linux. libusb is cross platform. hidapi supports both https://github.com/libusb/hidapi?tab=readme-ov-file#hidapi-has-four-back-ends