summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/XInput
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/XInput
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/XInput')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp5
-rw-r--r--Source/Core/InputCommon/ControllerInterface/XInput/XInput.h1
2 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
index c36c3126f6..d39b0b8e1e 100644
--- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp
@@ -171,11 +171,6 @@ std::string Device::GetName() const
}
}
-int Device::GetId() const
-{
- return m_index;
-}
-
std::string Device::GetSource() const
{
return "XInput";
diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h
index e4a047d53c..0dda9a93da 100644
--- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h
+++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h
@@ -92,7 +92,6 @@ public:
Device(const XINPUT_CAPABILITIES& capabilities, u8 index);
std::string GetName() const override;
- int GetId() const override;
std::string GetSource() const override;
void UpdateMotors();