Update Winbond Gaming Keyboard controller files to new standardized header comment

This commit is contained in:
Adam Honse 2024-06-22 19:21:43 -05:00
parent d1673b3304
commit d7ffb9e13f
5 changed files with 58 additions and 57 deletions

View file

@ -1,31 +1,29 @@
/*---------------------------------------------*\
| WinbondGamingKeyboardControllerDetect.cpp |
| |
| Driver for "Winbond Gaming Keyboard" boards, |
| like Pulsar PCMK TKL Keyboard |
| |
| Daniel Gibson 3 December 2023 |
\*---------------------------------------------*/
/*---------------------------------------------------------*\
| WinbondGamingKeyboardControllerDetect.cpp |
| |
| Detector for Winbond Gaming Keyboard |
| |
| Daniel Gibson 03 Dec 2023 |
| |
| This file is part of the OpenRGB project |
| SPDX-License-Identifier: GPL-2.0-only |
\*---------------------------------------------------------*/
#include <hidapi/hidapi.h>
#include "Detector.h"
#include "RGBController_WinbondGamingKeyboard.h"
#include <hidapi/hidapi.h>
#include "LogManager.h"
/*-----------------------------------------------------*\
| Winbond vendor ID |
\*-----------------------------------------------------*/
#define WINBOND_VID 0x0416
/*-----------------------------------------------------*\
| Winbond product ID |
\*-----------------------------------------------------*/
#define WINBOND_GAMING_KEYBOARD_PID 0xB23C
void DetectWinbondGamingKeyboard(hid_device_info* info, const std::string& name)
{
hid_device* dev = hid_open_path(info->path);