Update SteelSeriesApexTZoneController files to new standardized header format

This commit is contained in:
Adam Honse 2024-07-11 11:37:05 -05:00
parent 3717c752c4
commit 79527ef39a
2 changed files with 23 additions and 14 deletions

View file

@ -1,11 +1,16 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| SteelSeriesApexTZoneController.cpp | | SteelSeriesApexTZoneController.cpp |
| | | |
| Edbgon 06.10.21 | | Driver for SteelSeries Apex T Zone |
\*-----------------------------------------*/ | |
| Edbgon 06 Oct 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "SteelSeriesApexTZoneController.h"
#include <cstring> #include <cstring>
#include "SteelSeriesApexTZoneController.h"
SteelSeriesApexTZoneController::SteelSeriesApexTZoneController(hid_device* dev_handle, const char* path) : SteelSeriesApex3Controller(dev_handle, path) SteelSeriesApexTZoneController::SteelSeriesApexTZoneController(hid_device* dev_handle, const char* path) : SteelSeriesApex3Controller(dev_handle, path)
{ {

View file

@ -1,18 +1,22 @@
/*-----------------------------------------*\ /*---------------------------------------------------------*\
| SteelSeriesApexTZoneController.h | | SteelSeriesApexTZoneController.h |
| | | |
| Edbgon 06.10.21 | | Driver for SteelSeries Apex T Zone |
\*-----------------------------------------*/ | |
| Edbgon 06 Oct 2021 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#pragma once
#include <string> #include <string>
#include <hidapi/hidapi.h> #include <hidapi/hidapi.h>
#include "RGBController.h" #include "RGBController.h"
#include "SteelSeriesGeneric.h" #include "SteelSeriesGeneric.h"
#include "SteelSeriesApex3Controller.h" #include "SteelSeriesApex3Controller.h"
#pragma once
#define STEELSERIES_TZ_LED_COUNT 10 #define STEELSERIES_TZ_LED_COUNT 10
#define STEELSERIES_TZ_WRITE_PACKET_SIZE 33 #define STEELSERIES_TZ_WRITE_PACKET_SIZE 33
#define STEELSERIES_TZ_BRIGHTNESS_MAX 0x64 #define STEELSERIES_TZ_BRIGHTNESS_MAX 0x64