Functions
InputNames.hpp File Reference

Functions to convert SFML keyboard/mouse enumerators from and to strings. More...

Go to the source code of this file.

Functions

std::string thor::toString (sf::Keyboard::Key key)
 Returns a string representation of key. More...
 
std::string thor::toString (sf::Mouse::Button button)
 Returns a string representation of button. More...
 
std::string thor::toString (sf::Joystick::Axis axis)
 Returns a string representation of axis. More...
 
sf::Keyboard::Key thor::toKeyboardKey (const std::string &string)
 Returns the key interpretation of string. More...
 
sf::Mouse::Button thor::toMouseButton (const std::string &string)
 Returns the mouse button interpretation of string. More...
 
sf::Joystick::Axis thor::toJoystickAxis (const std::string &string)
 Returns the joystick axis interpretation of string. More...
 

Detailed Description

Functions to convert SFML keyboard/mouse enumerators from and to strings.