mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-26 16:57:51 -05:00
* Added WootingOneKeyboardController.h * Added WootingOneKeyboardController.cpp * Added WootingTwoKeyboardController.h * Added WootingTwoKeyboardController.cpp * Unified the WootingKeyboardController as a virtual class * Modified WootingKeyboardControllerDetect to use the new controllers * Wooting One & Two use the old controller * Wooting Two LE & HE use the new controller * Adding Udev rules for the WootingTwo LE & HE
26 lines
1.0 KiB
C++
26 lines
1.0 KiB
C++
/*-------------------------------------------------------------------*\
|
|
| WootingTwoKeyboardController.h |
|
|
| |
|
|
| OpenRGB driver for Wooting RGB keyboardlighting controller |
|
|
| https://github.com/WootingKb/wooting-rgb-sdk |
|
|
| |
|
|
| Chris M (Dr_No) 9th July 2021 |
|
|
\*-------------------------------------------------------------------*/
|
|
|
|
#include "WootingKeyboardController.h"
|
|
|
|
#pragma once
|
|
|
|
class WootingTwoKeyboardController : public WootingKeyboardController
|
|
{
|
|
public:
|
|
WootingTwoKeyboardController(hid_device* dev_handle, const char *path, uint8_t wooting_type);
|
|
~WootingTwoKeyboardController();
|
|
|
|
void SendDirect(RGBColor* colors, uint8_t colour_count);
|
|
|
|
private:
|
|
void SendInitialize();
|
|
bool wooting_usb_send_buffer(RGB_PARTS part_number, uint8_t* report_buffer);
|
|
};
|