Use HID path for Location on HyperX Keyboard controller
This commit is contained in:
parent
158aac5ee4
commit
d6350c8504
4 changed files with 14 additions and 4 deletions
|
|
@ -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
|
||||
(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue