Update Holtek controller files to new standardized header comment
This commit is contained in:
parent
de7d0a4c76
commit
4aa92c6272
9 changed files with 99 additions and 69 deletions
|
|
@ -1,14 +1,16 @@
|
|||
/*-----------------------------------------------*\
|
||||
| HoltekA070Controller.cpp |
|
||||
| |
|
||||
| Driver for Holtek USB Gaming Mouse [04d9:a070] |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 8/01/2020 |
|
||||
\*-----------------------------------------------*/
|
||||
|
||||
#include "HoltekA070Controller.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| HoltekA070Controller.cpp |
|
||||
| |
|
||||
| Driver for Holtek mouse |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 01 Aug 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include "HoltekA070Controller.h"
|
||||
|
||||
HoltekA070Controller::HoltekA070Controller(hid_device* dev_handle, const char* path)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
/*---------------------------------------------------------------*\
|
||||
| HoltekA070Controller.h |
|
||||
| |
|
||||
| Definitions and types for Holtek USB Gaming Mouse [04d9:a070] |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 8/01/2020 |
|
||||
\*---------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| HoltekA070Controller.h |
|
||||
| |
|
||||
| Driver for Holtek mouse |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 01 Aug 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController.h"
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#pragma once
|
||||
#include "RGBController.h"
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
/*--------------------------------------------------------------*\
|
||||
| RGBController_HoltekA070.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for Holtek USB Gaming Mouse [04d9:a070] |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 8/01/2020 |
|
||||
\*--------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HoltekA070.cpp |
|
||||
| |
|
||||
| RGBController for Holtek mouse |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 01 Aug 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_HoltekA070.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
/*--------------------------------------------------------------*\
|
||||
| RGBController_HoltekA070.h |
|
||||
| |
|
||||
| Generic RGB Interface for Holtek USB Gaming Mouse [04d9:a070] |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 8/01/2020 |
|
||||
\*--------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HoltekA070.h |
|
||||
| |
|
||||
| RGBController for Holtek mouse |
|
||||
| |
|
||||
| Santeri Pikarinen (santeri3700) 01 Aug 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "HoltekA070Controller.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
/*-----------------------------------------------*\
|
||||
| HoltekA1FAController.cpp |
|
||||
| |
|
||||
| Driver for Holtek based Mousemat [04d9:a1fa] |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26/12/2020 |
|
||||
\*-----------------------------------------------*/
|
||||
|
||||
#include "HoltekA1FAController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| HoltekA1FAController.cpp |
|
||||
| |
|
||||
| Driver for Holtek mousemat |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26 Dec 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include "HoltekA1FAController.h"
|
||||
|
||||
HoltekA1FAController::HoltekA1FAController(hid_device *dev_handle, const char *path)
|
||||
{
|
||||
|
|
@ -21,7 +23,6 @@ HoltekA1FAController::~HoltekA1FAController()
|
|||
hid_close(dev);
|
||||
}
|
||||
|
||||
|
||||
std::string HoltekA1FAController::GetDeviceLocation()
|
||||
{
|
||||
return ("HID: " + location);
|
||||
|
|
|
|||
|
|
@ -1,17 +1,19 @@
|
|||
/*---------------------------------------------------------------*\
|
||||
| HoltekA1FAController.h |
|
||||
| |
|
||||
| Definitions and types for Holtek based Mousemat [04d9:a1fa] |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26/12/2020 |
|
||||
\*---------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| HoltekA1FAController.h |
|
||||
| |
|
||||
| Driver for Holtek mousemat |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26 Dec 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController.h"
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
#pragma once
|
||||
#include "RGBController.h"
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
/*--------------------------------------------------------------*\
|
||||
| RGBController_HoltekA1FA.cpp |
|
||||
| |
|
||||
| Generic RGB Interface for Holtek based Mousemat [04d9:a1fa] |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26/12/2020 |
|
||||
\*--------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HoltekA1FA.cpp |
|
||||
| |
|
||||
| RGBController for Holtek mousemat |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26 Dec 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_HoltekA1FA.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
/*--------------------------------------------------------------*\
|
||||
| RGBController_HoltekA1FA.h |
|
||||
| |
|
||||
| Generic RGB Interface for Holtek based Mousemat [04d9:a1fa] |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26/12/2020 |
|
||||
\*--------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_HoltekA1FA.h |
|
||||
| |
|
||||
| RGBController for Holtek mousemat |
|
||||
| |
|
||||
| Edoardo Ridolfi (edo2313) 26 Dec 2020 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "HoltekA1FAController.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,11 +1,20 @@
|
|||
/*---------------------------------------------------------*\
|
||||
| HoltekControllerDetect.cpp |
|
||||
| |
|
||||
| Detector for Holtek devices |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "Detector.h"
|
||||
#include "HoltekA070Controller.h"
|
||||
#include "RGBController.h"
|
||||
#include "RGBController_HoltekA070.h"
|
||||
#include "HoltekA1FAController.h"
|
||||
#include "RGBController_HoltekA1FA.h"
|
||||
#include <vector>
|
||||
#include <hidapi/hidapi.h>
|
||||
|
||||
/*-----------------------------------------------------*\
|
||||
| Holtek Semiconductor Inc. vendor ID |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue