Update file header comments to standardized new format for Cherry, Colorful, and Cooler Master files
This commit is contained in:
parent
889110961a
commit
fc97d6130b
62 changed files with 638 additions and 423 deletions
|
|
@ -1,11 +1,13 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CherryKeyboardController.cpp |
|
| CherryKeyboardController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Cherry RGB keyboard lighting |
|
| Driver for Cherry keyboard |
|
||||||
| controller |
|
| |
|
||||||
| |
|
| Sebastian Kraus 25 Dec 2021 |
|
||||||
| Sebastian Kraus 12/25/2021 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CherryKeyboardController.h"
|
#include "CherryKeyboardController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CherryKeyboardController.h |
|
| CherryKeyboardController.h |
|
||||||
| |
|
| |
|
||||||
| Definitions and types for Cherry RGB |
|
| Driver for Cherry keyboard |
|
||||||
| keyboard lighting controller |
|
| |
|
||||||
| |
|
| Sebastian Kraus 25 Dec 2021 |
|
||||||
| Sebastian Kraus 12/25/2021 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,14 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| CherryKeyboardControllerDetect.cpp |
|
||||||
|
| |
|
||||||
|
| Detector for Cherry keyboard |
|
||||||
|
| |
|
||||||
|
| Sebastian Kraus 25 Dec 2021 |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include <hidapi/hidapi.h>
|
#include <hidapi/hidapi.h>
|
||||||
#include "Detector.h"
|
#include "Detector.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CherryKeyboard.cpp |
|
| RGBController_CherryKeyboard.cpp |
|
||||||
| |
|
| |
|
||||||
| Generic RGB Interface for Cherry RGB |
|
| RGBController for Cherry keyboard |
|
||||||
| Keyboard |
|
| |
|
||||||
| |
|
| Sebastian Kraus 25 Dec 2021 |
|
||||||
| Sebastian Kraus 12/25/2021 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CherryKeyboard.h"
|
#include "RGBController_CherryKeyboard.h"
|
||||||
|
|
||||||
|
|
@ -212,7 +214,7 @@ RGBController_CherryKeyboard::RGBController_CherryKeyboard(CherryKeyboardControl
|
||||||
Rolling.brightness = CHERRY_KB_BRIGHTNESS_HIGHEST;
|
Rolling.brightness = CHERRY_KB_BRIGHTNESS_HIGHEST;
|
||||||
Rolling.color_mode = MODE_COLORS_NONE;
|
Rolling.color_mode = MODE_COLORS_NONE;
|
||||||
modes.push_back(Rolling);
|
modes.push_back(Rolling);
|
||||||
|
|
||||||
mode Curve;
|
mode Curve;
|
||||||
Curve.name = "Curve";
|
Curve.name = "Curve";
|
||||||
Curve.value = CHERRY_KB_MODE_CURVE;
|
Curve.value = CHERRY_KB_MODE_CURVE;
|
||||||
|
|
@ -337,7 +339,7 @@ void RGBController_CherryKeyboard::SetupZones()
|
||||||
new_zone.matrix_map->height = CHERRY_MATRIX_MAP_HEIGHT;
|
new_zone.matrix_map->height = CHERRY_MATRIX_MAP_HEIGHT;
|
||||||
new_zone.matrix_map->width = CHERRY_MATRIX_MAP_WIDTH;
|
new_zone.matrix_map->width = CHERRY_MATRIX_MAP_WIDTH;
|
||||||
new_zone.matrix_map->map = (unsigned int *)&matrix_map;
|
new_zone.matrix_map->map = (unsigned int *)&matrix_map;
|
||||||
|
|
||||||
zones.push_back(new_zone);
|
zones.push_back(new_zone);
|
||||||
|
|
||||||
for(int led_idx = 0; led_idx < CHERRY_MATRIX_CELL_COUNT; led_idx++)
|
for(int led_idx = 0; led_idx < CHERRY_MATRIX_CELL_COUNT; led_idx++)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-----------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CherryKeyboard.h |
|
| RGBController_CherryKeyboard.h |
|
||||||
| |
|
| |
|
||||||
| Generic RGB Interface for Cherry RGB |
|
| RGBController for Cherry keyboard |
|
||||||
| Keyboard |
|
| |
|
||||||
| |
|
| Sebastian Kraus 25 Dec 2021 |
|
||||||
| Sebastian Kraus 12/25/2021 |
|
| |
|
||||||
\*-----------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulGPUController.cpp |
|
||||||
|
| |
|
||||||
|
| Driver for Colorful GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "ColorfulGPUController.h"
|
#include "ColorfulGPUController.h"
|
||||||
#include "pci_ids.h"
|
#include "pci_ids.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulGPUController.h |
|
||||||
|
| |
|
||||||
|
| Driver for Colorful GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
@ -18,7 +27,6 @@ public:
|
||||||
std::string GetDeviceLocation();
|
std::string GetDeviceLocation();
|
||||||
void SetDirect(RGBColor color);
|
void SetDirect(RGBColor color);
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
i2c_smbus_interface * bus;
|
i2c_smbus_interface * bus;
|
||||||
colorful_gpu_dev_id dev;
|
colorful_gpu_dev_id dev;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
#include <stdio.h>
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulGPUControllerDetect.cpp |
|
||||||
|
| |
|
||||||
|
| Detector for Colorful GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "Detector.h"
|
#include "Detector.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| RGBController_ColorfulGPU.cpp |
|
||||||
|
| |
|
||||||
|
| RGBController for Colorful GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "RGBController_ColorfulGPU.h"
|
#include "RGBController_ColorfulGPU.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| RGBController_ColorfulGPU.h |
|
||||||
|
| |
|
||||||
|
| RGBController for Colorful GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RGBController.h"
|
#include "RGBController.h"
|
||||||
|
|
@ -20,7 +29,4 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
ColorfulGPUController* controller;
|
ColorfulGPUController* controller;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulTuringGPUController.cpp |
|
||||||
|
| |
|
||||||
|
| Driver for Colorful Turing GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "ColorfulTuringGPUController.h"
|
#include "ColorfulTuringGPUController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulTuringGPUController.h |
|
||||||
|
| |
|
||||||
|
| Driver for Colorful Turing GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,13 @@
|
||||||
#include <stdio.h>
|
/*---------------------------------------------------------*\
|
||||||
|
| ColorfulTuringGPUControllerDetect.cpp |
|
||||||
|
| |
|
||||||
|
| Driver for Colorful Turing GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
#include "Detector.h"
|
#include "Detector.h"
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| RGBController_ColorfulTuringGPU.cpp |
|
||||||
|
| |
|
||||||
|
| RGBController for Colorful Turing GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
#include "RGBController_ColorfulTuringGPU.h"
|
#include "RGBController_ColorfulTuringGPU.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| RGBController_ColorfulTuringGPU.h |
|
||||||
|
| |
|
||||||
|
| RGBController for Colorful Turing GPU |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RGBController.h"
|
#include "RGBController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMARGBController.cpp |
|
| CMARGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB USB Controller |
|
| Driver for Cooler Master ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 10th Oct 2020 |
|
| Chris M (Dr_No) 10 Oct 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "CMARGBController.h"
|
#include "CMARGBController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMARGBController.h |
|
| CMARGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB USB Controller |
|
| Driver for Cooler Master ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 10th Oct 2020 |
|
| Chris M (Dr_No) 10 Oct 2020 |
|
||||||
| |
|
| |
|
||||||
| Simple RGB device with 5 modes |
|
| This file is part of the OpenRGB project |
|
||||||
| |
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
\*-------------------------------------------------------------------*/
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMARGBController.cpp |
|
| RGBController_CMARGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Controller |
|
| RGBController for Cooler Master ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Oct 2020 |
|
| Chris M (Dr_No) 14 Oct 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMARGBController.h"
|
#include "RGBController_CMARGBController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMARGBController.h |
|
| RGBController_CMARGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Controller |
|
| RGBController for Cooler Master ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Oct 2020 |
|
| Chris M (Dr_No) 14 Oct 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMARGBGen2A1Controller.cpp |
|
| CMARGBGen2A1Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Gen 2 A1 USB Controller |
|
| Driver for Cooler Master ARGB Gen 2 A1 controller |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 6/26/2022 |
|
| Morgan Guimard (morg) 26 Jun 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMARGBGen2A1Controller.h"
|
#include "CMARGBGen2A1Controller.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMARGBGen2A1Controller.h |
|
| CMARGBGen2A1Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Gen 2 A1 USB Controller |
|
| Driver for Cooler Master ARGB Gen 2 A1 controller |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 6/26/2022 |
|
| Morgan Guimard (morg) 26 Jun 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMARGBGen2A1Controller.cpp |
|
| RGBController_CMARGBGen2A1Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Gen 2 A1 USB Controller |
|
| Driver for Cooler Master ARGB Gen 2 A1 controller |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 6/26/2022 |
|
| Morgan Guimard (morg) 26 Jun 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMARGBGen2A1Controller.h |
|
| RGBController_CMARGBGen2A1Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster ARGB Controller |
|
| Driver for Cooler Master ARGB Gen 2 A1 controller |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 6/26/2022 |
|
| Morgan Guimard (morg) 26 Jun 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardAbstractController.h |
|
| CMKeyboardAbstractController.cpp |
|
||||||
| |
|
| |
|
||||||
| Abstract driver for Coolermaster keyboards |
|
| Driver for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "CMKeyboardAbstractController.h"
|
#include "CMKeyboardAbstractController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardAbstractController.h |
|
| CMKeyboardAbstractController.h |
|
||||||
| |
|
| |
|
||||||
| Abstract driver for Coolermaster keyboards |
|
| Driver for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardDevices.cpp |
|
| CMKeyboardDevices.cpp |
|
||||||
| |
|
| |
|
||||||
| Keymap definitions for Cooler Master Keyboards |
|
| Device list for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "CMKeyboardDevices.h"
|
#include "CMKeyboardDevices.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardDevices.h |
|
| CMKeyboardDevices.h |
|
||||||
| |
|
| |
|
||||||
| Keymap definitions for Cooler Master Keyboards |
|
| Device list for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardV1Controller.cpp |
|
| CMKeyboardV1Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MasterKeys keyboards (V1) |
|
| Driver for Cooler Master MasterKeys (V1) keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include "CMKeyboardV1Controller.h"
|
#include "CMKeyboardV1Controller.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardV1Controller.h |
|
| CMKeyboardV1Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MasterKeys keyboards (V1) |
|
| Driver for Cooler Master MasterKeys (V1) keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardV2Controller.cpp |
|
| CMKeyboardV2Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster V2 |
|
| Driver for Cooler Master V2 keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <locale>
|
#include <locale>
|
||||||
#include <codecvt>
|
#include <codecvt>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMKeyboardV2Controller.h |
|
| CMKeyboardV2Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster V2 |
|
| Driver for Cooler Master V2 keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMKeyboardController.cpp |
|
| RGBController_CMKeyboardController.cpp |
|
||||||
| |
|
| |
|
||||||
| Controller for Coolermaster keyboards |
|
| RGBController for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMKeyboardController.h"
|
#include "RGBController_CMKeyboardController.h"
|
||||||
#include "CMKeyboardDevices.h"
|
#include "CMKeyboardDevices.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMKeyboardController.h |
|
| RGBController_CMKeyboardController.h |
|
||||||
| |
|
| |
|
||||||
| Controller for Coolermaster keyboards |
|
| RGBController for Cooler Master keyboards |
|
||||||
| |
|
| |
|
||||||
| Tam D (too.manyhobbies) 30th Nov 2023 |
|
| Tam D (too.manyhobbies) 30 Nov 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "RGBController.h"
|
#include "RGBController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMM711Controller.cpp |
|
| CMMM711Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Master Mouse 711 |
|
| Driver for Cooler Master M711 mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMMM711Controller.h"
|
#include "CMMM711Controller.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMM711Controller.h |
|
| CMMM711Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Master Mouse 711 |
|
| Driver for Cooler Master M711 mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMM711Controller.cpp |
|
| RGBController_CMMM711Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MM711 Controller |
|
| RGBController for Cooler Master M711 mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMMM711Controller.h"
|
#include "RGBController_CMMM711Controller.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMM711Controller.h |
|
| RGBController_CMMM711Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MM711 Controller |
|
| RGBController for Cooler Master M711 mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMMController.cpp |
|
| CMMMController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MasterMouse |
|
| Driver for Cooler Master mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 - MM711 Base |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| Dracrius 12th Mar 2022 |
|
| Dracrius 12 Mar 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMMMController.h"
|
#include "CMMMController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMMController.h |
|
| CMMMController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MasterMouse |
|
| Driver for Cooler Master mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 - MM711 Base |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| Dracrius 12th Mar 2022 |
|
| Dracrius 12 Mar 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMMController.cpp |
|
| RGBController_CMMMController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Cooler Master MasterMouse Controller |
|
| RGBController for Cooler Master mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 - MM711 Base |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| Dracrius 12th Mar 2022 |
|
| Dracrius 12 Mar 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMMMController.h"
|
#include "RGBController_CMMMController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMMController.h |
|
| RGBController_CMMMController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MaterMouse Controller |
|
| RGBController for Cooler Master mouse |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 14th Feb 2021 - MM711 Base |
|
| Chris M (Dr_No) 14 Feb 2021 |
|
||||||
| Dracrius 12th Mar 2022 |
|
| Dracrius 12 Mar 2022 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMP750Controller.cpp |
|
| CMMP750Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MP750 mousepad |
|
| Driver for Cooler Master MP750 mousemat |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 16th Apr 2020 |
|
| Chris M (Dr_No) 16 Apr 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "CMMP750Controller.h"
|
#include "CMMP750Controller.h"
|
||||||
|
|
||||||
|
|
@ -152,12 +154,12 @@ void CMMP750Controller::SendUpdate()
|
||||||
}
|
}
|
||||||
|
|
||||||
if(current_mode > CM_MP750_MODE_BREATHING)
|
if(current_mode > CM_MP750_MODE_BREATHING)
|
||||||
{
|
{
|
||||||
//If the mode is random colours set SPEED at BYTE2
|
//If the mode is random colours set SPEED at BYTE2
|
||||||
buffer[CM_RED_BYTE] = speed_mode_data[current_speed];
|
buffer[CM_RED_BYTE] = speed_mode_data[current_speed];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
//Otherwise SPEED is BYTE5
|
//Otherwise SPEED is BYTE5
|
||||||
buffer[CM_RED_BYTE] = current_red;
|
buffer[CM_RED_BYTE] = current_red;
|
||||||
buffer[CM_GREEN_BYTE] = current_green;
|
buffer[CM_GREEN_BYTE] = current_green;
|
||||||
|
|
|
||||||
|
|
@ -1,18 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMP750Controller.h |
|
| CMMP750Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MP750 mousepad |
|
| Driver for Cooler Master MP750 mousemat |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 16th Apr 2020 |
|
| Chris M (Dr_No) 16 Apr 2020 |
|
||||||
| |
|
| |
|
||||||
| Simple RGB device with 5 modes |
|
| This file is part of the OpenRGB project |
|
||||||
| BYTE0 = Mode (0x01 thru 0x05 |
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
| BYTE1 = ?? Must be set to 0x04 for colour modes otherwise ignored |
|
\*---------------------------------------------------------*/
|
||||||
| BYTE2 = Colour Modes: RED else Cycle SPEED |
|
|
||||||
| BYTE3 = Colour Modes: GREEN else ignored |
|
|
||||||
| BYTE4 = Colour Modes: BLUE else ignored |
|
|
||||||
| BYTE5 = Colour Modes: SPEED else ignored |
|
|
||||||
\*-------------------------------------------------------------------*/
|
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
@ -26,6 +21,16 @@
|
||||||
#define CM_SERIAL_SIZE (sizeof(serial) / sizeof(serial[ 0 ]))
|
#define CM_SERIAL_SIZE (sizeof(serial) / sizeof(serial[ 0 ]))
|
||||||
#define HID_MAX_STR 255
|
#define HID_MAX_STR 255
|
||||||
|
|
||||||
|
/*-------------------------------------------------------------------*\
|
||||||
|
| Simple RGB device with 5 modes |
|
||||||
|
| BYTE0 = Mode (0x01 thru 0x05 |
|
||||||
|
| BYTE1 = ?? Must be set to 0x04 for colour modes otherwise ignored |
|
||||||
|
| BYTE2 = Colour Modes: RED else Cycle SPEED |
|
||||||
|
| BYTE3 = Colour Modes: GREEN else ignored |
|
||||||
|
| BYTE4 = Colour Modes: BLUE else ignored |
|
||||||
|
| BYTE5 = Colour Modes: SPEED else ignored |
|
||||||
|
\*-------------------------------------------------------------------*/
|
||||||
|
|
||||||
enum
|
enum
|
||||||
{
|
{
|
||||||
CM_MODE_BYTE = 1,
|
CM_MODE_BYTE = 1,
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMP750Controller.cpp |
|
| RGBController_CMMP750Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MP750 mousepad |
|
| RGBController for Cooler Master MP750 mousemat |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 18th Apr 2020 |
|
| Chris M (Dr_No) 18 Apr 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMMP750Controller.h"
|
#include "RGBController_CMMP750Controller.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMP750Controller.h |
|
| RGBController_CMMP750Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster MP750 mousepad |
|
| RGBController for Cooler Master MP750 mousemat |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 18th Apr 2020 |
|
| Chris M (Dr_No) 18 Apr 2020 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMonitorController.cpp |
|
| CMMonitorController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Gaming Monitor |
|
| Driver for Cooler Master monitor |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 9/18/2023 |
|
| Morgan Guimard (morg) 18 Sep 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMMonitorController.h"
|
#include "CMMonitorController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMMonitorController.cpp |
|
| CMMonitorController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Gaming Monitor |
|
| Driver for Cooler Master monitor |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 9/18/2023 |
|
| Morgan Guimard (morg) 18 Sep 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMonitorController.cpp |
|
| RGBController_CMMonitorController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Gaming Monitor USB Controller |
|
| RGBController for Cooler Master monitor |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 9/18/2023 |
|
| Morgan Guimard (morg) 18 Sep 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <chrono>
|
#include <chrono>
|
||||||
#include <thread>
|
#include <thread>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMMonitorController.cpp |
|
| RGBController_CMMonitorController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Gaming Monitor USB Controller |
|
| RGBController for Cooler Master monitor |
|
||||||
| |
|
| |
|
||||||
| morg (Morgan Guimard) 9/18/2023 |
|
| Morgan Guimard (morg) 18 Sep 2023 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMR6000Controller.cpp |
|
| CMR6000Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster based AMD Radeon GPU (6000 series) |
|
| Driver for Cooler Master AMD Radeon 6000 series GPU |
|
||||||
| |
|
| |
|
||||||
| Eric S (edbgon) 2nd Feb 2021 |
|
| Eric S (edbgon) 02 Feb 2021 |
|
||||||
\*-------------------------------------------------------------------*/
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMR6000Controller.h"
|
#include "CMR6000Controller.h"
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMR6000Controller.h |
|
| CMR6000Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster based AMD Radeon GPU (6000 series) |
|
| Driver for Cooler Master AMD Radeon 6000 series GPU |
|
||||||
| |
|
| |
|
||||||
| Eric S (edbgon) 2nd Feb 2021 |
|
| Eric S (edbgon) 02 Feb 2021 |
|
||||||
\*-------------------------------------------------------------------*/
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMR6000Controller.cpp |
|
| RGBController_CMR6000Controller.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster based AMD Radeon GPU (6000 series) |
|
| RGBController for Cooler Master AMD Radeon 6000 series |
|
||||||
| |
|
| GPU |
|
||||||
| Eric S (edbgon) 2nd Feb 2021 |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| Eric S (edbgon) 02 Feb 2021 |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMR6000Controller.h"
|
#include "RGBController_CMR6000Controller.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,14 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMR6000Controller.h |
|
| RGBController_CMR6000Controller.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster based AMD Radeon GPU (6000 series) |
|
| RGBController for Cooler Master AMD Radeon 6000 series |
|
||||||
| |
|
| GPU |
|
||||||
| Eric S (edbgon) 2nd Feb 2021 |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| Eric S (edbgon) 02 Feb 2021 |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMRGBController.cpp |
|
| CMRGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster RGB USB Controller |
|
| Driver for Cooler Master RGB controller |
|
||||||
| |
|
| |
|
||||||
| Nic W (midgetspy) 13th Apr 2021 |
|
| Nic W (midgetspy) 13 Apr 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "RGBController_CMRGBController.h"
|
#include "RGBController_CMRGBController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMRGBController.h |
|
| CMRGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster RGB USB Controller |
|
| Driver for Cooler Master RGB controller |
|
||||||
| |
|
| |
|
||||||
| Nic W (midgetspy) 13th Apr 2021 |
|
| Nic W (midgetspy) 13 Apr 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMRGBController.cpp |
|
| RGBController_CMRGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster RGB USB Controller |
|
| RGBController for Cooler Master RGB controller |
|
||||||
| |
|
| |
|
||||||
| Nic W (midgetspy) 13th Apr 2021 |
|
| Nic W (midgetspy) 13 Apr 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMRGBController.h"
|
#include "RGBController_CMRGBController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMRGBController.h |
|
| RGBController_CMRGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster RGB USB Controller |
|
| RGBController for Cooler Master RGB controller |
|
||||||
| |
|
| |
|
||||||
| Nic W (midgetspy) 13th Apr 2021 |
|
| Nic W (midgetspy) 13 Apr 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMSmallARGBController.cpp |
|
| CMSmallARGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Small ARGB USB Controller |
|
| Driver for Cooler Master Small ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 31st Jan 2021 |
|
| Chris M (Dr_No) 31 Jan 2021 |
|
||||||
| |
|
| |
|
||||||
| Simple RGB device with 5 modes |
|
| This file is part of the OpenRGB project |
|
||||||
| |
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
\*-------------------------------------------------------------------*/
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include "CMSmallARGBController.h"
|
#include "CMSmallARGBController.h"
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| CMSmallARGBController.h |
|
| CMSmallARGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Small ARGB USB Controller |
|
| Driver for Cooler Master Small ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 31st Jan 2021 |
|
| Chris M (Dr_No) 31 Jan 2021 |
|
||||||
| |
|
| |
|
||||||
| Simple RGB device with 5 modes |
|
| This file is part of the OpenRGB project |
|
||||||
| |
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
\*-------------------------------------------------------------------*/
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
@ -16,6 +16,10 @@
|
||||||
#include <hidapi/hidapi.h>
|
#include <hidapi/hidapi.h>
|
||||||
#include "RGBController.h" //Needed to set the direct mode
|
#include "RGBController.h" //Needed to set the direct mode
|
||||||
|
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| Simple RGB device with 5 modes |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#define CM_SMALL_ARGB_PACKET_SIZE 65
|
#define CM_SMALL_ARGB_PACKET_SIZE 65
|
||||||
#define CM_SMALL_ARGB_INTERRUPT_TIMEOUT 250
|
#define CM_SMALL_ARGB_INTERRUPT_TIMEOUT 250
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMSmallARGBController.cpp |
|
| RGBController_CMSmallARGBController.cpp |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Small ARGB USB Controller |
|
| RGBController for Cooler Master Small ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 31st Jan 2021 |
|
| Chris M (Dr_No) 31 Jan 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#include "RGBController_CMSmallARGBController.h"
|
#include "RGBController_CMSmallARGBController.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,13 @@
|
||||||
/*-------------------------------------------------------------------*\
|
/*---------------------------------------------------------*\
|
||||||
| RGBController_CMSmallARGBController.h |
|
| RGBController_CMSmallARGBController.h |
|
||||||
| |
|
| |
|
||||||
| Driver for Coolermaster Small ARGB USB Controller |
|
| RGBController for Cooler Master Small ARGB controller |
|
||||||
| |
|
| |
|
||||||
| Chris M (Dr_No) 31st Jan 2021 |
|
| Chris M (Dr_No) 31 Jan 2021 |
|
||||||
| |
|
| |
|
||||||
\*-------------------------------------------------------------------*/
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,12 @@
|
||||||
|
/*---------------------------------------------------------*\
|
||||||
|
| CoolerMasterControllerDetect.cpp |
|
||||||
|
| |
|
||||||
|
| Detector for Cooler Master devices |
|
||||||
|
| |
|
||||||
|
| This file is part of the OpenRGB project |
|
||||||
|
| SPDX-License-Identifier: GPL-2.0-only |
|
||||||
|
\*---------------------------------------------------------*/
|
||||||
|
|
||||||
/*-----------------------------------------------------*\
|
/*-----------------------------------------------------*\
|
||||||
| OpenRGB includes |
|
| OpenRGB includes |
|
||||||
\*-----------------------------------------------------*/
|
\*-----------------------------------------------------*/
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue