Files
OpenRGB/Controllers/WootingKeyboardController/WootingOneKeyboardController.h
Chris 84de7ebc3e Splitting out the WootingTwoKeyboardController
* 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
2021-07-25 18:52:00 +00:00

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);
};