Minor formating fixes.
This commit is contained in:
parent
6f53b0c069
commit
4df668e68f
76 changed files with 121 additions and 121 deletions
|
|
@ -11,4 +11,4 @@ void InputDevice::init()
|
|||
{
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
namespace sp {
|
||||
|
||||
InputEvent::InputEvent(Type type) :
|
||||
InputEvent::InputEvent(Type type) :
|
||||
type (type)
|
||||
{
|
||||
}
|
||||
|
|
@ -20,4 +20,4 @@ std::string InputEvent::MouseButtonEvent::getName() const
|
|||
return Mouse::getButtonName(button);
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
|
|
@ -7,4 +7,4 @@ void InputListener::onInputEvent(const InputEvent& event)
|
|||
{
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ void InputModule::registerListener(InputListener* listener)
|
|||
|
||||
void InputModule::removeListener(InputListener* listener)
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
Mouse* InputModule::getMouse()
|
||||
|
|
@ -97,4 +97,4 @@ void InputModule::dispatch()
|
|||
m_buffer.clear();
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ struct keyentry table[] = {
|
|||
MapSym(Key::Down, "Down"),
|
||||
MapSym(Key::Left, "Left"),
|
||||
MapSym(Key::Right, "Right"),
|
||||
|
||||
|
||||
// Numpad
|
||||
MapSym(Key::NUMPAD_1, "Numpad 1"),
|
||||
MapSym(Key::NUMPAD_2, "Numpad 2"),
|
||||
|
|
@ -113,4 +113,4 @@ std::string Keyboard::getKeyName(Key::Type key)
|
|||
return table[key].name;
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
|
|
@ -21,4 +21,4 @@ std::string Mouse::getButtonName(MouseButton::Type button)
|
|||
}
|
||||
}
|
||||
|
||||
} // namespace sp
|
||||
} // namespace sp
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue