mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
InputCommon: Use nested namespace specifiers where applicable
This commit is contained in:
@ -20,9 +20,7 @@
|
||||
#include "InputCommon/ControllerInterface/ControllerInterface.h"
|
||||
#include "InputCommon/ControllerInterface/Pipes/Pipes.h"
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace Pipes
|
||||
namespace ciface::Pipes
|
||||
{
|
||||
static const std::array<std::string, 12> s_button_tokens{
|
||||
{"A", "B", "X", "Y", "Z", "START", "L", "R", "D_UP", "D_DOWN", "D_LEFT", "D_RIGHT"}};
|
||||
@ -161,5 +159,4 @@ void PipeDevice::ParseCommand(const std::string& command)
|
||||
}
|
||||
}
|
||||
}
|
||||
} // namespace Pipes
|
||||
} // namespace ciface
|
||||
} // namespace ciface::Pipes
|
||||
|
@ -8,9 +8,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace ciface
|
||||
{
|
||||
namespace Pipes
|
||||
namespace ciface::Pipes
|
||||
{
|
||||
// To create a piped controller input, create a named pipe in the
|
||||
// Pipes directory and write commands out to it. Commands are separated
|
||||
@ -58,5 +56,4 @@ private:
|
||||
std::map<std::string, PipeInput*> m_buttons;
|
||||
std::map<std::string, PipeInput*> m_axes;
|
||||
};
|
||||
} // namespace Pipes
|
||||
} // namespace ciface
|
||||
} // namespace ciface::Pipes
|
||||
|
Reference in New Issue
Block a user