ControllerInterface: Combine evdev devices with the same physical location in addition to unique ID

This commit is contained in:
Techjar
2020-06-01 16:59:45 -04:00
parent 67761c7d31
commit 8423f848d0
2 changed files with 21 additions and 5 deletions

View File

@ -82,6 +82,7 @@ public:
bool AddNode(std::string devnode, int fd, libevdev* dev);
const char* GetUniqueID() const;
const char* GetPhysicalLocation() const;
std::string GetName() const override { return m_name; }
std::string GetSource() const override { return "evdev"; }