diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-02-09 18:29:13 -0500 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-02-09 19:40:11 -0500 |
| commit | ebb48d019eec1c29a37a406e2db16d7565367faa (patch) | |
| tree | 254aa42356ced8de7c87d9da181cff4475c12ba4 /Source/Core/InputCommon | |
| parent | 40182a48a56b8e294e126c64f5f37910a40c67cd (diff) | |
Clean up some struct indentations
Also cleaned up the indentations of some variable declarations.
Diffstat (limited to 'Source/Core/InputCommon')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp | 8 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.h | 16 |
2 files changed, 12 insertions, 12 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp index 04f2bb505f..0c4f026a9e 100644 --- a/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp +++ b/Source/Core/InputCommon/ControllerInterface/ForceFeedback/ForceFeedbackDevice.cpp @@ -22,14 +22,14 @@ typedef struct static const ForceType force_type_names[] = { - {GUID_ConstantForce, "Constant"}, // DICONSTANTFORCE - {GUID_RampForce, "Ramp"}, // DIRAMPFORCE - {GUID_Square, "Square"}, // DIPERIODIC ... + {GUID_ConstantForce, "Constant"}, // DICONSTANTFORCE + {GUID_RampForce, "Ramp"}, // DIRAMPFORCE + {GUID_Square, "Square"}, // DIPERIODIC ... {GUID_Sine, "Sine"}, {GUID_Triangle, "Triangle"}, {GUID_SawtoothUp, "Sawtooth Up"}, {GUID_SawtoothDown, "Sawtooth Down"}, - //{GUID_Spring, "Spring"}, // DICUSTOMFORCE ... < I think + //{GUID_Spring, "Spring"}, // DICUSTOMFORCE ... < I think //{GUID_Damper, "Damper"}, //{GUID_Inertia, "Inertia"}, //{GUID_Friction, "Friction"}, diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h index f1714b253e..02c7e6d5d0 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h @@ -34,9 +34,9 @@ private: { EffectIDState() : effect(SDL_HapticEffect()), id(-1), changed(false) {} - SDL_HapticEffect effect; - int id; - bool changed; + SDL_HapticEffect effect; + int id; + bool changed; }; #endif @@ -141,13 +141,13 @@ public: std::string GetSource() const override; private: - SDL_Joystick* const m_joystick; - const int m_sdl_index; - const unsigned int m_index; + SDL_Joystick* const m_joystick; + const int m_sdl_index; + const unsigned int m_index; #ifdef USE_SDL_HAPTIC - std::list<EffectIDState> m_state_out; - SDL_Haptic* m_haptic; + std::list<EffectIDState> m_state_out; + SDL_Haptic* m_haptic; #endif }; |
