From b10ff42df25af27366c3ff84b5215bd3e8faccd0 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Tue, 11 Feb 2020 16:16:24 -0600 Subject: [PATCH] Add addresses 0x5E and 0x5F to Corsair Pro DRAM detection --- .../CorsairProControllerDetect.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Controllers/CorsairProController/CorsairProControllerDetect.cpp b/Controllers/CorsairProController/CorsairProControllerDetect.cpp index 74d1e490..ccaf82e2 100644 --- a/Controllers/CorsairProController/CorsairProControllerDetect.cpp +++ b/Controllers/CorsairProController/CorsairProControllerDetect.cpp @@ -121,6 +121,22 @@ void DetectCorsairProControllers(std::vector &busses, std: new_controller = new RGBController_CorsairPro(new_corsair_pro); rgb_controllers.push_back(new_controller); } + + // Check for Corsair controller at 0x5E + if (TestForCorsairProController(busses[bus], 0x5E)) + { + new_corsair_pro = new CorsairProController(busses[bus], 0x5E); + new_controller = new RGBController_CorsairPro(new_corsair_pro); + rgb_controllers.push_back(new_controller); + } + + // Check for Corsair controller at 0x5F + if (TestForCorsairProController(busses[bus], 0x5F)) + { + new_corsair_pro = new CorsairProController(busses[bus], 0x5F); + new_controller = new RGBController_CorsairPro(new_corsair_pro); + rgb_controllers.push_back(new_controller); + } } } /* DetectCorsairProControllers() */ \ No newline at end of file