Add HID: prefix to all HID detector locations

This commit is contained in:
Adam Honse 2020-12-02 12:18:56 -06:00
parent 3345fe6562
commit ca3c2ad541
49 changed files with 76 additions and 54 deletions

View file

@ -31,9 +31,9 @@ SonyDS4Controller::SonyDS4Controller(hid_device * device_handle, const char * de
location = device_path;
}
const char * SonyDS4Controller::GetLocation()
std::string SonyDS4Controller::GetLocation()
{
return location;
return("HID: " + location);
}
void SonyDS4Controller::SetColors(unsigned char red, unsigned char green, unsigned char blue)