mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 15:45:05 -04:00
Use HID path for Location on HyperX Keyboard controller
This commit is contained in:
1 parent
158aac5ee4
commit
d6350c8504
4 files changed
+14
-4
No files matched your search
@@ -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