OpenRGB/Controllers/HyperXKeyboardController/HyperXAlloyOriginsCoreController.h
Vavooon a20a19e570 Add HyperX Origins Core support (direct mode)
Commits squashed and amended for code style by Adam Honse <calcprogrammer1@gmail.com>
2021-06-13 00:02:32 -05:00

31 lines
841 B
C++

/*------------------------------------------*\
| HyperXAlloyOriginsCoreController.h |
| |
| Definitions and types for HyperX Alloy |
| Origins Core RGB Keyboard lighting |
| controller |
| |
| Volodymyr Nazarchuk (Vavooon) 4/28/2021 |
\*------------------------------------------*/
#include "RGBController.h"
#include <string>
#include <hidapi/hidapi.h>
#pragma once
class HyperXAlloyOriginsCoreController
{
public:
HyperXAlloyOriginsCoreController(hid_device* dev_handle, const char* path);
~HyperXAlloyOriginsCoreController();
std::string GetDeviceLocation();
void SetLEDsDirect(std::vector<RGBColor> colors);
private:
hid_device* dev;
std::string location;
};