/*---------------------------------------------------------*\ | HyperXAlloyElite2Controller.h | | | | Driver for HyperX Alloy Elite 2 keyboard | | | | KundaPanda (vojdo) 02 Apr 2021 | | | | This file is part of the OpenRGB project | | SPDX-License-Identifier: GPL-2.0-only | \*---------------------------------------------------------*/ #pragma once #include #include #include "RGBController.h" class HyperXAlloyElite2Controller { public: HyperXAlloyElite2Controller(hid_device* dev_handle, const char* path); ~HyperXAlloyElite2Controller(); std::string GetDeviceLocation(); std::string GetSerialString(); void SetLEDsDirect(const std::vector& colors); private: hid_device* dev; std::string location; void SendDirectInitialization(); };