Files
OpenRGB/Controllers/LogitechController/LogitechG213Controller.h
edbgon f6083c8506 Logitech G213 Controller (Merge Request !171)
Commits merged and minor code style changes by Adam Honse <calcprogrammer1@gmail.com>
2020-10-20 23:55:37 -05:00

34 lines
814 B
C++

/*-----------------------------------------*\
| LogitechG213Controller.h |
| |
| Generic RGB Interface for Logitech G213 |
| |
| Eric Samuelson (edbgon) 10/06/2020 |
\*-----------------------------------------*/
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#pragma once
class LogitechG213Controller
{
public:
LogitechG213Controller(hid_device* dev_handle);
~LogitechG213Controller();
void SetDirect
(
unsigned char zone,
unsigned char r,
unsigned char g,
unsigned char b
);
private:
hid_device* dev;
};