Update Roccat Elo controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-11 21:32:42 -05:00
parent bba59be497
commit ae7caf002b
4 changed files with 48 additions and 5 deletions

View file

@ -1,7 +1,17 @@
#include "RGBController_RoccatElo.h"
/*---------------------------------------------------------*\
| RGBController_RoccatElo.cpp |
| |
| RGBController for Roccat Elo |
| |
| Flora Aubry 02 Jan 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <thread>
#include <chrono>
#include <thread>
#include "RGBController_RoccatElo.h"
/**------------------------------------------------------------------*\
@name Roccat Elo 7.1

View file

@ -1,3 +1,14 @@
/*---------------------------------------------------------*\
| RGBController_RoccatElo.h |
| |
| RGBController for Roccat Elo |
| |
| Flora Aubry 02 Jan 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"

View file

@ -1,6 +1,17 @@
#include "RoccatEloController.h"
#include <string.h>
/*---------------------------------------------------------*\
| RoccatEloController.cpp |
| |
| Driver for Roccat Elo |
| |
| Flora Aubry 02 Jan 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <cmath>
#include <string.h>
#include "RoccatEloController.h"
RoccatEloController::RoccatEloController(hid_device* dev_handle, const hid_device_info& info)
{

View file

@ -1,8 +1,19 @@
/*---------------------------------------------------------*\
| RoccatEloController.h |
| |
| Driver for Roccat Elo |
| |
| Flora Aubry 02 Jan 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#include "RGBController.h"
#define ROCCAT_ELO_REPORT_SIZE 16
#define ROCCAT_ELO_LEDS_COUNT 1