mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-29 02:04:13 -04:00
Update MSI GPU V2 controller files to new standardized header comment
This commit is contained in:
@@ -1,13 +1,16 @@
|
||||
/*-----------------------------------------*\
|
||||
| MSIGPUController.cpp |
|
||||
| |
|
||||
| Driver for MSI GPUs |
|
||||
| Wojciech Lazarski 03/Jan/2023 |
|
||||
| |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIGPUv2Controller.cpp |
|
||||
| |
|
||||
| Driver for MSI V2 GPU (ITE9) |
|
||||
| |
|
||||
| Wojciech Lazarski 03 Jan 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "MSIGPUv2Controller.h"
|
||||
#include <cstring>
|
||||
#include "MSIGPUv2Controller.h"
|
||||
|
||||
using namespace std::chrono_literals;
|
||||
|
||||
|
||||
@@ -1,16 +1,19 @@
|
||||
/*-------------------------------------------------*\
|
||||
| MSIGPUControllerv2.h |
|
||||
| |
|
||||
| Definitions for MSI GPUs for new ITE9 controller |
|
||||
| Wojciech Lazarski 03/Jan/2023 |
|
||||
| |
|
||||
\*-------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIGPUv2Controller.h |
|
||||
| |
|
||||
| Driver for MSI V2 GPU (ITE9) |
|
||||
| |
|
||||
| Wojciech Lazarski 03 Jan 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "i2c_smbus.h"
|
||||
|
||||
#pragma once
|
||||
|
||||
typedef unsigned char msi_gpu_dev_id;
|
||||
|
||||
#define MSI_GPU_V2_SPEED_MIN 0
|
||||
|
||||
@@ -1,14 +1,17 @@
|
||||
/*-----------------------------------------*\
|
||||
| MSIGPUControllerDetect.cpp |
|
||||
| |
|
||||
| Driver for MSI GPUs |
|
||||
| |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIGPUv2ControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for MSI V2 GPU (ITE9) |
|
||||
| |
|
||||
| Wojciech Lazarski 03 Jan 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "Detector.h"
|
||||
#include "LogManager.h"
|
||||
#include "i2c_smbus.h"
|
||||
|
||||
#include "RGBController_MSIGPUv2.h"
|
||||
#include "MSIGPUv2Controller.h"
|
||||
|
||||
|
||||
@@ -1,13 +1,16 @@
|
||||
/*-----------------------------------------*\
|
||||
| RGBController_MSIGPUv2.cpp |
|
||||
| |
|
||||
| ITE9 RGB Interface for MSI GPU |
|
||||
| Wojciech Lazarski 03/Jan/2023 |
|
||||
| |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_MSIGPUv2.cpp |
|
||||
| |
|
||||
| RGBController for MSI V2 GPU (ITE9) |
|
||||
| |
|
||||
| Wojciech Lazarski 03 Jan 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_MSIGPUv2.h"
|
||||
#include <array>
|
||||
#include "RGBController_MSIGPUv2.h"
|
||||
|
||||
static const unsigned char speed_values[3] = { 0x04, 0x02, 0x01 };
|
||||
|
||||
@@ -210,7 +213,7 @@ RGBController_MSIGPUv2::RGBController_MSIGPUv2(MSIGPUv2Controller * msi_gpu_ptr,
|
||||
Flowing.brightness_max = MSI_GPU_V2_BRIGHTNESS_MAX;
|
||||
Flowing.color_mode = MODE_COLORS_PER_LED;
|
||||
modes.push_back(Flowing);
|
||||
|
||||
|
||||
mode Whirling;
|
||||
Whirling.name = "Whirling";
|
||||
Whirling.value = MSI_GPU_V2_MODE_WHIRLING;
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| RGBController_MSIGPUv2.h |
|
||||
| |
|
||||
| ITE9 RGB Interface for MSI GPU |
|
||||
| Wojciech Lazarski 03/Jan/2023 |
|
||||
| |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_MSIGPUv2.h |
|
||||
| |
|
||||
| RGBController for MSI V2 GPU (ITE9) |
|
||||
| |
|
||||
| Wojciech Lazarski 03 Jan 2023 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
Reference in New Issue
Block a user