diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface')
5 files changed, 8 insertions, 8 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Android/Android.h b/Source/Core/InputCommon/ControllerInterface/Android/Android.h index aea09ac97c..309f42e604 100644 --- a/Source/Core/InputCommon/ControllerInterface/Android/Android.h +++ b/Source/Core/InputCommon/ControllerInterface/Android/Android.h @@ -37,7 +37,7 @@ private: const ButtonManager::ButtonType _index; const float _neg; }; - + public: bool UpdateInput() { return true; } bool UpdateOutput() { return true; } diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp index 1117ed9856..57abcb1b1f 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp @@ -171,13 +171,13 @@ template<> void ForceFeedbackDevice::ForceConstant::SetState(const ControlState state) { const LONG new_val = LONG(10000 * state); - + LONG &val = params.lMagnitude; if (val != new_val) { val = new_val; m_state.params = ¶ms; // tells UpdateOutput the state has changed - + // tells UpdateOutput to either start or stop the force m_state.size = new_val ? sizeof(params) : 0; } diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h index 986fe2ea3b..f64f880616 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputAdapter.h @@ -2,7 +2,7 @@ // Licensed under GPLv2 // Refer to the license.txt file included. -/* +/* * The OS X Force Feedback API is very similar to the DirectInput API, * but it is no longer object-oriented and all prefixes have been changed. * @@ -155,7 +155,7 @@ class FFDeviceAdapter : public IUnknownImpl { public: FFDeviceObjectReference m_device; - + FFDeviceAdapter(FFDeviceObjectReference device) : m_device(device) {} ~FFDeviceAdapter() { FFReleaseDevice(m_device); } @@ -206,7 +206,7 @@ public: // There are only two properties supported if (property != DIPROP_FFGAIN && property != DIPROP_AUTOCENTER) return DIERR_UNSUPPORTED; - + // And they are both device properties if (pdiph->dwHow != DIPH_DEVICE) return DIERR_INVALIDPARAM; diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h index b8d47552d1..e99e990158 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/OSX/DirectInputConstants.h @@ -4,7 +4,7 @@ #pragma once -/* +/* * Define all constants from ForceFeedbackConstants.h with DirectInput prefixes. * * No effort was made to confirm if all definitions are actually supported by diff --git a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp index 7574641258..860e12e46c 100644 --- a/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp +++ b/Source/Core/InputCommon/ControllerInterface/XInput/XInput.cpp @@ -86,7 +86,7 @@ void Init(std::vector<Core::Device*>& devices) return; } } - + XINPUT_CAPABILITIES caps; for (int i = 0; i != 4; ++i) if (ERROR_SUCCESS == PXInputGetCapabilities(i, 0, &caps)) |
