InputCommon: Use nested namespace specifiers where applicable

This commit is contained in:
Lioncash committed 2019-06-17 16:51:41 -04:00
1 parent 8e030a4a45
commit ec60027f56
38 files changed
+78 -195

No files matched your search

@@ -14,9 +14,7 @@
#include "InputCommon/ControllerInterface/DInput/DInputJoystick.h"
#include "InputCommon/ControllerInterface/DInput/XInputFilter.h"
namespace ciface
{
namespace DInput
namespace ciface::DInput
{
constexpr DWORD DATA_BUFFER_SIZE = 32;
@@ -315,5 +313,4 @@ ControlState Joystick::Hat::GetState() const
return (abs((int)(m_hat / 4500 - m_direction * 2 + 8) % 8 - 4) > 2);
}
} // namespace DInput
} // namespace ciface
} // namespace ciface::DInput