mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-01-06 06:07:49 -05:00
* Reworked wireless Corsair Slipstream detection to be generic for all devices * Adding key layout and metadata to CorsairPeripheralV2Devices.cpp * Adding new detector
28 lines
1021 B
C++
28 lines
1021 B
C++
/*---------------------------------------------------------------------*\
|
|
| CorsairPeripheralV2SoftwareController.h |
|
|
| |
|
|
| Common driver for the newer Corsair peripherals that use |
|
|
| the `08` based USB protocol |
|
|
| |
|
|
| Chris M (Dr_No) 11 Aug 2022 |
|
|
\*---------------------------------------------------------------------*/
|
|
#pragma once
|
|
|
|
#include "RGBController.h"
|
|
#include "CorsairPeripheralV2Controller.h"
|
|
|
|
#include <string>
|
|
#include <hidapi/hidapi.h>
|
|
|
|
class CorsairPeripheralV2SWController : public CorsairPeripheralV2Controller
|
|
{
|
|
public:
|
|
CorsairPeripheralV2SWController(hid_device* dev_handle, const char* path, std::string name);
|
|
~CorsairPeripheralV2SWController();
|
|
|
|
void SetLedsDirect(std::vector<RGBColor *> colors);
|
|
|
|
private:
|
|
|
|
};
|