mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2025-12-23 23:37:48 -05:00
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
C++
/*---------------------------------------------------------*\
|
|
| WootingOneKeyboardController.h |
|
|
| |
|
|
| Driver for Wooting One keyboard |
|
|
| |
|
|
| Diogo Trindade (diogotr7) 04 Mar 2021 |
|
|
| |
|
|
| This file is part of the OpenRGB project |
|
|
| SPDX-License-Identifier: GPL-2.0-or-later |
|
|
\*---------------------------------------------------------*/
|
|
|
|
#pragma once
|
|
|
|
#include "WootingKeyboardController.h"
|
|
|
|
class WootingOneKeyboardController : public WootingKeyboardController
|
|
{
|
|
public:
|
|
WootingOneKeyboardController(hid_device* dev_handle, const char *path, uint8_t wooting_type, std::string dev_name);
|
|
~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);
|
|
};
|