Added udev/sudo note to HID Device

Former-commit-id: 30e1524a5ca587cd5928aae028de868df2725aca
This commit is contained in:
NicoHood 2015-11-08 21:05:12 +01:00
parent 3595709099
commit 1b2b3b3135

View File

@ -49,7 +49,7 @@ int LedHIDDevice::open()
if (_deviceHandle == nullptr)
{
// Failed to open the device
std::cerr << "Failed to open HID device. Maybe your PID/VID setting is wrong?" << std::endl;
std::cerr << "Failed to open HID device. Maybe your PID/VID setting is wrong? Make sure to add a udev rule/use sudo." << std::endl;
// http://www.signal11.us/oss/hidapi/
/*