29 #ifndef THOR_INPUTNAMES_HPP
30 #define THOR_INPUTNAMES_HPP
34 #include <SFML/Window/Keyboard.hpp>
35 #include <SFML/Window/Mouse.hpp>
36 #include <SFML/Window/Joystick.hpp>
53 std::string THOR_API
toString(sf::Keyboard::Key key);
61 std::string THOR_API
toString(sf::Mouse::Button button);
69 std::string THOR_API
toString(sf::Joystick::Axis axis);
77 sf::Keyboard::Key THOR_API
toKeyboardKey(
const std::string&
string);
85 sf::Mouse::Button THOR_API
toMouseButton(
const std::string&
string);
93 sf::Joystick::Axis THOR_API
toJoystickAxis(
const std::string&
string);
99 #endif // THOR_INPUTNAMES_HPP
Definition: Animator.hpp:42
Configuration header of the library.