Update Roccat Kone Pro controller files to new standardized header comment
This commit is contained in:
parent
b3379e8ef3
commit
940e14c07a
4 changed files with 44 additions and 32 deletions
|
|
@ -1,10 +1,13 @@
|
|||
/*---------------------------------------------*\
|
||||
| RGBController_RoccatKonePro.cpp |
|
||||
| |
|
||||
| RGB Controller for Roccat Kone Pro |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 01/12/2024 |
|
||||
\*---------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_RoccatKonePro.cpp |
|
||||
| |
|
||||
| RGBController for Roccat Kone Pro |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 12 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include "RGBController_RoccatKonePro.h"
|
||||
|
||||
|
|
@ -164,7 +167,7 @@ void RGBController_RoccatKonePro::DeviceUpdateLEDs()
|
|||
}
|
||||
|
||||
void RGBController_RoccatKonePro::UpdateZoneLEDs(int /*zone_idx*/)
|
||||
{
|
||||
{
|
||||
DeviceUpdateLEDs();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,16 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| RGBController_RoccatKonePro.h |
|
||||
| |
|
||||
| Driver for Roccat Kone Pro Mouse |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 01/12/2024 |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RGBController_RoccatKonePro.h |
|
||||
| |
|
||||
| RGBController for Roccat Kone Pro |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 12 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include "RoccatKoneProController.h"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| RoccatKoneProController.cpp |
|
||||
| |
|
||||
| Driver for Roccat Kone Pro Mouse |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 01/12/2024 |
|
||||
\*-------------------------------------------------------------------*/
|
||||
|
||||
#include "RoccatKoneProController.h"
|
||||
/*---------------------------------------------------------*\
|
||||
| RoccatKoneProController.cpp |
|
||||
| |
|
||||
| Driver for Roccat Kone Pro |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 12 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#include <cstring>
|
||||
#include "RoccatKoneProController.h"
|
||||
|
||||
RoccatKoneProController::RoccatKoneProController(hid_device* dev_handle, const hid_device_info& info)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,15 +1,18 @@
|
|||
/*-------------------------------------------------------------------*\
|
||||
| RoccatKoneProController.h |
|
||||
| |
|
||||
| Driver for Roccat Kone Pro Mouse |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 01/12/2024 |
|
||||
\*-------------------------------------------------------------------*/
|
||||
/*---------------------------------------------------------*\
|
||||
| RoccatKoneProController.h |
|
||||
| |
|
||||
| Driver for Roccat Kone Pro |
|
||||
| |
|
||||
| Garrett Denham (GardenOfWyers) 12 Jan 2024 |
|
||||
| |
|
||||
| This file is part of the OpenRGB project |
|
||||
| SPDX-License-Identifier: GPL-2.0-only |
|
||||
\*---------------------------------------------------------*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RGBController.h"
|
||||
#include <hidapi/hidapi.h>
|
||||
#include "RGBController.h"
|
||||
|
||||
#define ROCCAT_KONE_PRO_CONTROL_MODE_PACKET_LENGTH 6
|
||||
#define ROCCAT_KONE_PRO_DIRECT_MODE_PACKET_LENGTH 11
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue