mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-26 00:37:46 -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
866 B
C++
26 lines
866 B
C++
/*-----------------------------------------*\
|
|
| WootingKeyboardController.h |
|
|
| |
|
|
| Definitions and types for Wooting RGB |
|
|
| keyboard lighting controller |
|
|
| |
|
|
| Diogo Trindade (diogotr7) 3/4/2021 |
|
|
\*-----------------------------------------*/
|
|
|
|
#include "WootingKeyboardController.h"
|
|
|
|
#pragma once
|
|
|
|
class WootingOneKeyboardController : public WootingKeyboardController
|
|
{
|
|
public:
|
|
WootingOneKeyboardController(hid_device* dev_handle, const char *path, uint8_t wooting_type);
|
|
~WootingOneKeyboardController();
|
|
|
|
void SendDirect(RGBColor* colors, uint8_t colour_count);
|
|
|
|
private:
|
|
void SendInitialize();
|
|
bool wooting_usb_send_buffer(RGB_PARTS part_number, uint8_t* report_buffer);
|
|
};
|