Update Trust GXT 180 controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-22 19:02:02 -05:00
parent 0227864ae3
commit 796fadd3bc
4 changed files with 48 additions and 39 deletions

View file

@ -1,16 +1,17 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| RGBController_TrustGXT180.cpp | | RGBController_TrustGXT180.cpp |
| | | |
| Generic RGB Interface for OpenRGB | | RGBController for Trust GXT 180 |
| Trust GXT 180 USB Driver | | |
| | | Morgan Guimard (morg) 24 Mar 2022 |
| Guimard Morgan (morg) 3/24/2022 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_TrustGXT180.h"
#include <thread>
#include <chrono> #include <chrono>
#include <thread>
#include "RGBController_TrustGXT180.h"
/**------------------------------------------------------------------*\ /**------------------------------------------------------------------*\
@name Trust GXT 180 @name Trust GXT 180

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| RGBController_TrustGXT180.h | | RGBController_TrustGXT180.h |
| | | |
| Generic RGB Interface for OpenRGB | | RGBController for Trust GXT 180 |
| Trust GXT 180 USB Driver | | |
| | | Morgan Guimard (morg) 24 Mar 2022 |
| Guimard Morgan (morg) 3/24/2022 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once #pragma once

View file

@ -1,12 +1,16 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| TrustGXT180Controller.cpp | | TrustGXT180Controller.cpp |
| | | |
| Driver for Trust GXT 180 controller | | Driver for Trust GXT 180 |
| | | |
| Guimard Morgan (morg) 3/24/2022 | | Morgan Guimard (morg) 24 Mar 2022 |
\*-----------------------------------------*/ | |
#include "TrustGXT180Controller.h" | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <string.h> #include <string.h>
#include "TrustGXT180Controller.h"
TrustGXT180Controller::TrustGXT180Controller(hid_device* dev_handle, const hid_device_info& info) TrustGXT180Controller::TrustGXT180Controller(hid_device* dev_handle, const hid_device_info& info)
{ {

View file

@ -1,18 +1,20 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| TrustGXT180Controller.h | | TrustGXT180Controller.h |
| | | |
| Driver for Trust GXT 180 | | Driver for Trust GXT 180 |
| controller - header file | | |
| | | Morgan Guimard (morg) 24 Mar 2022 |
| Guimard Morgan (morg) 3/24/2022 | | |
\*-----------------------------------------*/ | This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
#include "RGBController.h" \*---------------------------------------------------------*/
#include <string>
#include <hidapi/hidapi.h>
#pragma once #pragma once
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#define TRUST_GXT_180_REPORT_SIZE 64 #define TRUST_GXT_180_REPORT_SIZE 64
#define TRUST_GXT_180_NUMBER_OF_LEDS 1 #define TRUST_GXT_180_NUMBER_OF_LEDS 1
#define TRUST_GXT_180_REPORT_ID 0x03 #define TRUST_GXT_180_REPORT_ID 0x03