summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
diff options
context:
space:
mode:
authorPierre Bourdon <delroth@gmail.com>2016-07-14 23:13:30 +0200
committerGitHub <noreply@github.com>2016-07-14 23:13:30 +0200
commita9d8a7decd510aecbc0492709ecd347e0f7b56de (patch)
tree63cdec11183166eeb2bb5440537965b19dbe1593 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
parenta97a546bd667438a98ec2d9c698ab7958280693d (diff)
parent788e19f54d86ba45cdc83d39c0488b17aa1d00dd (diff)
Merge pull request #4009 from leoetlino/common-id-assign
ControllerInterface: Make the ID assigning code common
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/evdev/evdev.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
index 36c25cb42b..081913fa8e 100644
--- a/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
+++ b/Source/Core/InputCommon/ControllerInterface/evdev/evdev.h
@@ -63,11 +63,10 @@ private:
public:
void UpdateInput() override;
- evdevDevice(const std::string& devnode, int id);
+ evdevDevice(const std::string& devnode);
~evdevDevice();
std::string GetName() const override { return m_name; }
- int GetId() const override { return m_id; }
std::string GetSource() const override { return "evdev"; }
bool IsInteresting() const { return m_initialized && m_interesting; }
private:
@@ -75,7 +74,6 @@ private:
int m_fd;
libevdev* m_dev;
std::string m_name;
- const int m_id;
bool m_initialized;
bool m_interesting;
};