InputCommon: Use nested namespace specifiers where applicable

This commit is contained in:
Lioncash 2019-06-17 16:39:24 -04:00
parent 8e030a4a45
commit ec60027f56
38 changed files with 78 additions and 195 deletions

View file

@ -14,9 +14,7 @@
#include "Common/StringUtil.h"
#include "Common/Thread.h"
namespace ciface
{
namespace Core
namespace ciface::Core
{
// Compared to an input's current state (ideally 1.0) minus abs(initial_state) (ideally 0.0).
constexpr ControlState INPUT_DETECT_THRESHOLD = 0.55;
@ -326,6 +324,4 @@ DeviceContainer::DetectInput(u32 wait_ms, const std::vector<std::string>& device
// No input was detected. :'(
return {};
}
} // namespace Core
} // namespace ciface
} // namespace ciface::Core