mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-31 04:11:14 -04:00
Update Gigabyte Aorus RGB Fusion 2 RAM controller files to new standardized header comment
This commit is contained in:
@@ -1,17 +1,18 @@
|
||||
/*-----------------------------------------*\
|
||||
| GigabyteRGBFusion2DRAMController.cpp |
|
||||
| |
|
||||
| Driver for Gigabyte Aorus RGB Fusion 2 |
|
||||
| DRAM lighting controller |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 6/7/2020 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "GigabyteRGBFusion2DRAMController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| GigabyteRGBFusion2DRAMController.cpp |
|
||||
| |
|
||||
| Driver for Gigabyte Aorus RGB Fusion 2 RAM |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 07 Jun 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include "GigabyteRGBFusion2DRAMController.h"
|
||||
|
||||
RGBFusion2DRAMController::RGBFusion2DRAMController(i2c_smbus_interface* bus, rgb_fusion_dev_id dev)
|
||||
{
|
||||
|
||||
@@ -1,17 +1,19 @@
|
||||
/*-----------------------------------------*\
|
||||
| GigabyteRGBFusion2DRAMController.h |
|
||||
| |
|
||||
| Definitions and types for Gigabyte Aorus |
|
||||
| RGB Fusion 2 DRAM lighting controller |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 6/7/2020 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| GigabyteRGBFusion2DRAMController.cpp |
|
||||
| |
|
||||
| Driver for Gigabyte Aorus RGB Fusion 2 RAM |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 07 Jun 2020 |
|
||||
| |
|
||||
| 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 rgb_fusion_dev_id;
|
||||
|
||||
enum
|
||||
@@ -61,7 +63,7 @@ public:
|
||||
std::string GetDeviceLocation();
|
||||
unsigned int GetLEDCount();
|
||||
void Apply();
|
||||
|
||||
|
||||
void SetLEDEffect
|
||||
(
|
||||
unsigned int led,
|
||||
|
||||
@@ -1,3 +1,18 @@
|
||||
/*---------------------------------------------------------*\
|
||||
| GigabyteRGBFusion2DRAMControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Gigabyte Aorus RGB Fusion 2 RAM |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 07 Jun 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include "Detector.h"
|
||||
#include "LogManager.h"
|
||||
#include "GigabyteRGBFusion2DRAMController.h"
|
||||
@@ -5,10 +20,6 @@
|
||||
#include "RGBController_GigabyteRGBFusion2DRAM.h"
|
||||
#include "i2c_smbus.h"
|
||||
#include "pci_ids.h"
|
||||
#include <vector>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
|
||||
/******************************************************************************************\
|
||||
* *
|
||||
@@ -54,7 +65,7 @@ bool TestForGigabyteRGBFusion2DRAMController(i2c_smbus_interface* bus, unsigned
|
||||
* *
|
||||
* DetectGigabyteRGBFusion2DRAMControllers *
|
||||
* *
|
||||
* Detect Gigabyte RGB Fusion 2 controllers on the enumerated I2C buses at address 0x67. *
|
||||
* Detect Gigabyte RGB Fusion 2 controllers on the enumerated I2C buses at address 0x67. *
|
||||
* *
|
||||
* bus - pointer to i2c_smbus_interface where RGB Fusion device is connected *
|
||||
* dev - I2C address of RGB Fusion device *
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| GigabyteRGBController_RGBFusion2DRAM.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Gigabyte RGB Fusion 2 DRAM Driver |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 6/7/2020 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| GigabyteRGBController_RGBFusion2DRAM.cpp |
|
||||
| |
|
||||
| RGBController for Gigabyte Aorus RGB Fusion 2 RAM |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 07 Jun 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_GigabyteRGBFusion2DRAM.h"
|
||||
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/*-----------------------------------------*\
|
||||
| RGBController_GigabyteRGBFusion2DRAM.h |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| Gigabyte RGB Fusion 2 DRAM Driver |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 6/7/2020 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| GigabyteRGBController_RGBFusion2DRAM.h |
|
||||
| |
|
||||
| RGBController for Gigabyte Aorus RGB Fusion 2 RAM |
|
||||
| |
|
||||
| Adam Honse (CalcProgrammer1) 07 Jun 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
|
||||
Reference in New Issue
Block a user