diff options
| author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-11-13 00:56:32 -0800 |
|---|---|---|
| committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-11-28 10:50:45 -0800 |
| commit | 61fcfc4bf2058d971af6882af2765ad34d935fcb (patch) | |
| tree | 366336fe89d763029978dbbe642b626ffb775237 /Source/Core/InputCommon/ControllerInterface/XInput | |
| parent | 367a42dcfdf61e5fcd3e3444190ed25d4d8fc114 (diff) | |
ControllerInterface: Remove unused ClearInputState
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/XInput')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp | 5 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/XInput/XInput.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp index 37949e03ac..961b92270b 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp @@ -165,11 +165,6 @@ Device::Device(const XINPUT_CAPABILITIES& caps, u8 index) AddOutput(new Motor(i, (&m_state_out.wLeftMotorSpeed)[i], 65535)); } - ClearInputState(); -} - -void Device::ClearInputState() -{ ZeroMemory(&m_state_in, sizeof(m_state_in)); } diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h index 3c9eadc395..0092870265 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.h @@ -76,8 +76,6 @@ public: bool UpdateInput(); bool UpdateOutput(); - void ClearInputState(); - Device(const XINPUT_CAPABILITIES& capabilities, u8 index); std::string GetName() const; |
