/*-----------------------------------------*\ | AnnePro2Controller.h | | | | Driver for Obins Lab AnnePro2 keyboard | | | | Sergey Gavrilov (DrZlo13) 06/06/2021 | \*-----------------------------------------*/ #pragma once #include "RGBController.h" #include #include #include #pragma once class AnnePro2Controller { public: AnnePro2Controller(hid_device* dev_handle, const char* path); ~AnnePro2Controller(); std::string GetDeviceLocation(); std::string GetSerialString(); void SendDirect ( unsigned char frame_count, unsigned char * frame_data ); private: hid_device* dev; std::string location; };