mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-04-16 03:46:54 -04:00
Use HID path for Location on HyperX Keyboard controller
This commit is contained in:
@@ -65,9 +65,11 @@ enum
|
||||
class HyperXKeyboardController
|
||||
{
|
||||
public:
|
||||
HyperXKeyboardController(hid_device* dev_handle);
|
||||
HyperXKeyboardController(hid_device* dev_handle, const char* path);
|
||||
~HyperXKeyboardController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
|
||||
void SetMode
|
||||
(
|
||||
unsigned char mode,
|
||||
@@ -84,6 +86,7 @@ private:
|
||||
unsigned char active_mode;
|
||||
unsigned char active_direction;
|
||||
unsigned char active_speed;
|
||||
std::string location;
|
||||
|
||||
void SelectProfile
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user