Update HyperX mouse controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-05-24 13:53:48 -05:00
parent 1975c63b71
commit b43f31ebfb
21 changed files with 249 additions and 209 deletions

View file

@ -1,14 +1,16 @@
/*-------------------------------------------*\
| HyperXPulsefireRaidController.cpp |
| |
| Driver for HyperX Pulsefire Raid |
| lighting controller |
| |
| Morgan Guimard (morg) 04/06/2022 |
\*-------------------------------------------*/
/*---------------------------------------------------------*\
| HyperXPulsefireRaidController.cpp |
| |
| Driver for HyperX Pulsefire Raid |
| |
| Morgan Guimard (morg) 06 Apr 2022 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include "HyperXPulsefireRaidController.h"
#include <cstring>
#include "HyperXPulsefireRaidController.h"
using namespace std::chrono_literals;
@ -76,6 +78,6 @@ void HyperXPulsefireRaidController::SendColors(std::vector<RGBColor> colors)
void HyperXPulsefireRaidController::Send(unsigned char* packet)
{
hid_send_feature_report(dev, packet, HYPERX_PULSFIRE_RAID_PACKET_DATA_LENGTH);
hid_send_feature_report(dev, packet, HYPERX_PULSFIRE_RAID_PACKET_DATA_LENGTH);
std::this_thread::sleep_for(10ms);
}