Move and update Logitech Lightspeed controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-31 11:08:49 -05:00
parent 3c08177b58
commit b06ce22abb
4 changed files with 46 additions and 39 deletions

View file

@ -1,15 +1,16 @@
/*-----------------------------------------*\
| LogitechLightspeedController.cpp |
| |
| Driver for Logitech Lightspeed Wireless |
| Gaming Mice lighting controller |
| |
| TheRogueZeta 8/5/2020 |
\*-----------------------------------------*/
#include "LogitechLightspeedController.h"
/*---------------------------------------------------------*\
| LogitechLightspeedController.cpp |
| |
| Driver for Logitech Lightspeed |
| |
| TheRogueZeta 05 Aug 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cstring>
#include "LogitechLightspeedController.h"
LogitechLightspeedController::LogitechLightspeedController(hid_device* dev_handle, const char* path)
{

View file

@ -1,21 +1,22 @@
/*-----------------------------------------*\
| LogitechLightspeedController.h |
| |
| Definitions and types for Logitech G |
| Lightsync Wireless Gaming Mice lighting |
| controller |
| |
| TheRogueZeta 8/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| LogitechLightspeedController.h |
| |
| Driver for Logitech Lightspeed |
| |
| TheRogueZeta 05 Aug 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#include "LogManager.h"
#include "LogitechProtocolCommon.h"
#include <string>
#include <hidapi/hidapi.h>
#pragma once
#define LOGITECH_G_PRO_WIRELESS_BRIGHTNESS_MIN 0x01
#define LOGITECH_G_PRO_WIRELESS_BRIGHTNESS_MAX 0x64

View file

@ -1,11 +1,13 @@
/*-----------------------------------------*\
| RGBController_LogitechLightspeed.cpp |
| |
| Generic RGB Interface for |
| Logitech Lightspeed Gaming Mice |
| |
| TheRogueZeta 8/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_LogitechLightspeed.cpp |
| |
| RGBController for Logitech Lightspeed |
| |
| TheRogueZeta 05 Aug 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "RGBController_LogitechLightspeed.h"

View file

@ -1,13 +1,16 @@
/*-----------------------------------------*\
| RGBController_LogitechLightspeed.h |
| |
| Generic RGB Interface for |
| Logitech Lightspeed Gaming Mice |
| |
| TheRogueZeta 8/5/2020 |
\*-----------------------------------------*/
/*---------------------------------------------------------*\
| RGBController_LogitechLightspeed.h |
| |
| RGBController for Logitech Lightspeed |
| |
| TheRogueZeta 05 Aug 2020 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include "LogitechLightspeedController.h"