1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/openrgb/hotfix-corsair-ddr5.patch
3 # Copyright (C) 2023 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- OpenRGB-release_0.8/Controllers/CorsairVengeanceController/CorsairVengeanceControllerDetect.cpp.vanilla 2023-05-11 16:21:53.906373364 +0200
15 +++ OpenRGB-release_0.8/Controllers/CorsairVengeanceController/CorsairVengeanceControllerDetect.cpp 2023-05-11 16:25:37.913389538 +0200
18 ResourceManager::get()->RegisterRGBController(new_rgbcontroller);
22 + for(unsigned char addr = 0x18; addr <= 0x1F; addr++)
24 + if(TestForCorsairVengeanceController(busses[bus], addr))
26 + CorsairVengeanceController* new_controller = new CorsairVengeanceController(busses[bus], addr);
27 + RGBController_CorsairVengeance* new_rgbcontroller = new RGBController_CorsairVengeance(new_controller);
29 + ResourceManager::get()->RegisterRGBController(new_rgbcontroller);