mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-05-06 19:01:36 +03:00
InputCommon: Use nested namespace specifiers where applicable
This commit is contained in:
parent
8e030a4a45
commit
ec60027f56
38 changed files with 78 additions and 195 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue