mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-27 19:09:15 -04:00
Use HID path for Location on Logitech mouse controllers
This commit is contained in:
1 parent
7b93275443
commit
ffb452f6f4
18 files changed
+89
-29
No files matched your search
@@ -36,9 +36,11 @@ enum
|
||||
class LogitechGProWirelessController
|
||||
{
|
||||
public:
|
||||
LogitechGProWirelessController(hid_device* dev_handle);
|
||||
LogitechGProWirelessController(hid_device* dev_handle, const char* path);
|
||||
~LogitechGProWirelessController();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
|
||||
void SendMouseMode
|
||||
(
|
||||
unsigned char mode,
|
||||
@@ -52,4 +54,5 @@ public:
|
||||
|
||||
private:
|
||||
hid_device* dev;
|
||||
std::string location;
|
||||
};
|
||||
Reference in new issue
Block a user