Use HID path for Location on Logitech mouse controllers

This commit is contained in:
Adam Honse committed 2020-10-29 23:55:30 -05:00
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;
};