mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-13 02:21:17 -04:00
Update Winbond Gaming Keyboard controller files to new standardized header comment
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user