Update HYTE mousemat controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-24 14:04:28 -05:00
parent 056485fabf
commit 1f3bcaf52a
8 changed files with 81 additions and 36 deletions

View file

@ -1,6 +1,15 @@
#include "Detector.h"
#include "RGBController.h"
#include "RGBController_HYTEMousemat.h"
/*---------------------------------------------------------*\
| HYTEMousematControllerDetect_Linux.cpp |
| |
| Detector for HYTE mousemat (libusb implementation for |
| Linux) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <vector>
#ifdef __FreeBSD__
@ -9,6 +18,10 @@
#include <libusb-1.0/libusb.h>
#endif
#include "Detector.h"
#include "RGBController.h"
#include "RGBController_HYTEMousemat.h"
/*-----------------------------------------------------*\
| HYTE vendor ID |
\*-----------------------------------------------------*/

View file

@ -1,16 +1,19 @@
/*---------------------------------------------------------*\
| HYTEMousematController.cpp |
| HYTEMousematController_Linux.cpp |
| |
| Driver for HYTE CNVS RGB mousemat controller |
| Driver for HYTE mousemat (libusb implementation for |
| Linux) |
| |
| Adam Honse (calcprogrammer1@gmail.com), 7/18/2023 |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "HYTEMousematController_Linux.h"
#include <cstring>
#include <iomanip>
#include <sstream>
#include "HYTEMousematController_Linux.h"
HYTEMousematController::HYTEMousematController(libusb_device_handle* dev_handle)
{

View file

@ -1,14 +1,17 @@
/*---------------------------------------------------------*\
| HYTEMousematController.h |
| HYTEMousematController_Linux.h |
| |
| Definitions for HYTE CNVS RGB mousemat controller |
| Driver for HYTE mousemat (libusb implementation for |
| Linux) |
| |
| Adam Honse (calcprogrammer1@gmail.com), 7/18/2023 |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include <vector>
#ifdef __FreeBSD__
@ -17,6 +20,8 @@
#include <libusb-1.0/libusb.h>
#endif
#include "RGBController.h"
/*---------------------------------------------------------*\
| HYTE CNVS endpoint values |
\*---------------------------------------------------------*/

View file

@ -1,9 +1,21 @@
/*---------------------------------------------------------*\
| HYTEMousematControllerDetect_Windows.cpp |
| |
| Detector for HYTE mousemat (Serial implementation for |
| Windows) |
| |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <vector>
#include "Detector.h"
#include "HYTEMousematController_Windows.h"
#include "RGBController.h"
#include "RGBController_HYTEMousemat.h"
#include "find_usb_serial_port.h"
#include <vector>
#define HYTE_VID 0x3402

View file

@ -1,9 +1,13 @@
/*---------------------------------------------------------*\
| HYTEMousematController.cpp |
| HYTEMousematController_Windows.cpp |
| |
| Driver for HYTE CNVS RGB mousemat controller |
| Driver for HYTE mousemat (Serial implementation for |
| Windows) |
| |
| Adam Honse (calcprogrammer1@gmail.com), 7/18/2023 |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "HYTEMousematController_Windows.h"

View file

@ -1,16 +1,20 @@
/*---------------------------------------------------------*\
| HYTEMousematController.h |
| HYTEMousematController_Windows.h |
| |
| Definitions for HYTE CNVS RGB mousemat controller |
| Driver for HYTE mousemat (Serial implementation for |
| Windows) |
| |
| Adam Honse (calcprogrammer1@gmail.com), 7/18/2023 |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <vector>
#include "RGBController.h"
#include "serial_port.h"
#include <vector>
class HYTEMousematController
{

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_HYTEMousemat.cpp |
| |
| Generic RGB Interface for HYTE CNVS RGB |
| mousemat |
| |
| Adam Honse (CalcProgrammer1) 7/18/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HYTEMousemat.cpp |
| |
| RGBController for HYTE mousemat |
| |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_HYTEMousemat.h"

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_HYTEMousemat.h |
| |
| Generic RGB Interface for HYTE CNVS RGB |
| mousemat |
| |
| Adam Honse (CalcProgrammer1) 7/18/2023 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_HYTEMousemat.h |
| |
| RGBController for HYTE mousemat |
| |
| Adam Honse (calcprogrammer1@gmail.com) 18 Jul 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once