Update MSI Mystic Light 112-byte controller files to new standardized header comment
This commit is contained in:
parent
aa4f58694b
commit
f95cfc9aeb
4 changed files with 49 additions and 43 deletions
|
|
@ -1,21 +1,21 @@
|
|||
/*-----------------------------------------*\
|
||||
| MSIMysticLight112Controller.cpp |
|
||||
| |
|
||||
| Driver for MSI Mystic Light (112-byte) |
|
||||
| USB lighting controller |
|
||||
| |
|
||||
| thombo 12/17/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIMysticLight112Controller.cpp |
|
||||
| |
|
||||
| Driver for MSI Mystic Light 112-byte motherboard |
|
||||
| |
|
||||
| thombo 17 Dec 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "MSIMysticLight112Controller.h"
|
||||
#include <algorithm>
|
||||
#include <array>
|
||||
#include <bitset>
|
||||
|
||||
#include "MSIMysticLight112Controller.h"
|
||||
|
||||
#define BITSET(val, bit, pos) ((unsigned char)std::bitset<8>(val).set((pos), (bit)).to_ulong())
|
||||
|
||||
|
||||
struct Config
|
||||
{
|
||||
unsigned short pid; // PID of the board
|
||||
|
|
|
|||
|
|
@ -1,20 +1,22 @@
|
|||
/*-----------------------------------------*\
|
||||
| MSIMysticLight112Controller.h |
|
||||
| |
|
||||
| Definitions and types for MSI Mystic |
|
||||
| Light (112-byte) USB lighting controllers|
|
||||
| |
|
||||
| thombo 12/17/2022 |
|
||||
\*-----------------------------------------*/
|
||||
|
||||
#include "MSIMysticLightCommon.h"
|
||||
#include "RGBController.h"
|
||||
#include <cstring>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include <limits>
|
||||
/*---------------------------------------------------------*\
|
||||
| MSIMysticLight112Controller.h |
|
||||
| |
|
||||
| Driver for MSI Mystic Light 112-byte motherboard |
|
||||
| |
|
||||
| thombo 17 Dec 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstring>
|
||||
#include <limits>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "MSIMysticLightCommon.h"
|
||||
#include "RGBController.h"
|
||||
|
||||
class MSIMysticLight112Controller
|
||||
{
|
||||
public:
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_MSIMysticLight112.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| MSI Mystic Light (112-byte) USB Driver |
|
||||
| |
|
||||
| thombo 12/17/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_MSIMysticLight112.cpp |
|
||||
| |
|
||||
| RGBController for MSI Mystic Light 112-byte motherboard |
|
||||
| |
|
||||
| thombo 17 Dec 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_MSIMysticLight112.h"
|
||||
|
||||
|
||||
struct ZoneDescription
|
||||
{
|
||||
std::string name;
|
||||
|
|
|
|||
|
|
@ -1,16 +1,19 @@
|
|||
/*-----------------------------------------*\
|
||||
| RGBController_MSIMysticLight112.h |
|
||||
| |
|
||||
| Generic RGB Interface for OpenRGB |
|
||||
| MSI Mystic Light (112-byte) USB Driver |
|
||||
| |
|
||||
| thombo 12/17/2022 |
|
||||
\*-----------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_MSIMysticLight112.h |
|
||||
| |
|
||||
| RGBController for MSI Mystic Light 112-byte motherboard |
|
||||
| |
|
||||
| thombo 17 Dec 2022 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include "RGBController.h"
|
||||
#include "MSIMysticLight112Controller.h"
|
||||
#include <vector>
|
||||
|
||||
class RGBController_MSIMysticLight112: public RGBController
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue