diff options
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/SDL')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp | 7 | ||||
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/SDL/SDL.h | 7 |
2 files changed, 4 insertions, 10 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp index a26deee6e8..2d2d256c2a 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.cpp @@ -19,9 +19,7 @@ #pragma comment(lib, "SDL2.lib") #endif -namespace ciface -{ -namespace SDL +namespace ciface::SDL { static std::string GetJoystickName(int index) { @@ -491,5 +489,4 @@ ControlState Joystick::Hat::GetState() const { return (SDL_JoystickGetHat(m_js, m_index) & (1 << m_direction)) > 0; } -} // namespace SDL -} // namespace ciface +} // namespace ciface::SDL diff --git a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h index 890a064d8b..e9ac021bd9 100644 --- a/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h +++ b/Source/Core/InputCommon/ControllerInterface/SDL/SDL.h @@ -16,9 +16,7 @@ #include "InputCommon/ControllerInterface/Device.h" -namespace ciface -{ -namespace SDL +namespace ciface::SDL { void Init(); void DeInit(); @@ -158,5 +156,4 @@ private: SDL_Haptic* m_haptic; #endif }; -} // namespace SDL -} // namespace ciface +} // namespace ciface::SDL |
