Add optional HID device hotplug support (requires https://gitlab.com/OpenRGBDevelopers/hidapi-hotplug)

This commit is contained in:
Adam Honse committed 2026-04-13 11:43:21 -05:00
1 parent e1b84ba874
commit e8495115b5
33 files changed
+1401 -212

No files matched your search

@@ -26,7 +26,7 @@ HYTEKeyboardController::~HYTEKeyboardController()
std::string HYTEKeyboardController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HYTEKeyboardController::GetDeviceName()
@@ -32,7 +32,7 @@ HyperXAlloyElite2Controller::~HyperXAlloyElite2Controller()
std::string HyperXAlloyElite2Controller::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXAlloyElite2Controller::GetNameString()
@@ -27,7 +27,7 @@ HyperXAlloyOrigins60and65Controller::~HyperXAlloyOrigins60and65Controller()
std::string HyperXAlloyOrigins60and65Controller::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXAlloyOrigins60and65Controller::GetNameString()
@@ -30,7 +30,7 @@ HyperXAlloyOriginsController::~HyperXAlloyOriginsController()
std::string HyperXAlloyOriginsController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXAlloyOriginsController::GetNameString()
@@ -42,7 +42,7 @@ HyperXAlloyOriginsCoreController::~HyperXAlloyOriginsCoreController()
std::string HyperXAlloyOriginsCoreController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXAlloyOriginsCoreController::GetNameString()
@@ -37,7 +37,7 @@ HyperXMicrophoneController::~HyperXMicrophoneController()
std::string HyperXMicrophoneController::GetDeviceLocation()
{
return(location);
return("HID: " + location);
}
std::string HyperXMicrophoneController::GetNameString()
@@ -37,7 +37,7 @@ HyperXMicrophoneV2Controller::~HyperXMicrophoneV2Controller()
std::string HyperXMicrophoneV2Controller::GetDeviceLocation()
{
return(location);
return("HID: " + location);
}
std::string HyperXMicrophoneV2Controller::GetNameString()
@@ -27,7 +27,7 @@ HyperXPulsefireFPSProController::~HyperXPulsefireFPSProController()
std::string HyperXPulsefireFPSProController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXPulsefireFPSProController::GetNameString()
@@ -27,7 +27,7 @@ HyperXPulsefireHasteController::~HyperXPulsefireHasteController()
std::string HyperXPulsefireHasteController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXPulsefireHasteController::GetNameString()
@@ -27,7 +27,7 @@ HyperXPulsefireSurgeController::~HyperXPulsefireSurgeController()
std::string HyperXPulsefireSurgeController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXPulsefireSurgeController::GetNameString()
@@ -28,7 +28,7 @@ HyperXMousematController::~HyperXMousematController()
std::string HyperXMousematController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string HyperXMousematController::GetNameString()
@@ -54,7 +54,7 @@ unsigned int JGINYUEInternalUSBController::GetZoneCount()
std::string JGINYUEInternalUSBController::GetDeviceLocation()
{
return("HID:" + location);
return("HID: " + location);
}
std::string JGINYUEInternalUSBController::GetDeviceName()
@@ -68,7 +68,7 @@ unsigned int JGINYUEInternalUSBV2Controller::GetZoneCount()
std::string JGINYUEInternalUSBV2Controller::GetDeviceLocation()
{
return("HID:" + location);
return("HID: " + location);
}
std::string JGINYUEInternalUSBV2Controller::GetDeviceName()
@@ -28,7 +28,7 @@ PatriotViperMouseController::~PatriotViperMouseController()
std::string PatriotViperMouseController::GetLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string PatriotViperMouseController::GetName()
@@ -26,12 +26,12 @@ WushiL50USBController::~WushiL50USBController()
std::string WushiL50USBController::getName()
{
return name;
return(name);
}
std::string WushiL50USBController::getLocation()
{
return location;
return("HID: " + location);
}
std::string WushiL50USBController::GetSerialString()
@@ -43,7 +43,7 @@ ZETBladeOpticalController::~ZETBladeOpticalController()
std::string ZETBladeOpticalController::GetDeviceLocation()
{
return("HID " + location);
return("HID: " + location);
}
std::string ZETBladeOpticalController::GetNameString()