1
0
Fork 0

Minor formating fixes.

This commit is contained in:
Henrik Hautakoski 2019-12-29 22:26:05 +01:00
parent 6f53b0c069
commit 4df668e68f
No known key found for this signature in database
GPG key ID: 96765B12FEAC4745
76 changed files with 121 additions and 121 deletions

View file

@ -11,4 +11,4 @@ void InputDevice::init()
{
}
} // namespace sp
} // namespace sp

View file

@ -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

View file

@ -7,4 +7,4 @@ void InputListener::onInputEvent(const InputEvent& event)
{
}
} // namespace sp
} // namespace sp

View file

@ -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

View file

@ -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

View file

@ -21,4 +21,4 @@ std::string Mouse::getButtonName(MouseButton::Type button)
}
}
} // namespace sp
} // namespace sp