22 #ifndef FIFE_EVENTCHANNEL_KEY_H 23 #define FIFE_EVENTCHANNEL_KEY_H 328 std::string name(SDL_GetKeyName(static_cast<SDL_Keycode>(
m_key)));
KeyType
Codes for different keys.
std::string getAsString() const
Gets the string representation of the key, encoded as UTF-8.
Key(KeyType key=INVALID_KEY)
Constructor.
virtual ~Key()
Destructor.
bool isPrintable() const
Tells whether the Key can be represented as a string.
KeyType getValue() const
Gets the value of the key.
bool isFunctionKey() const