Sirikata
|
#include <SDLInputManager.hpp>
Public Types | |
typedef std::tr1::unordered_map < uint32, SDL_Event * > | RepeatMap |
Public Member Functions | |
SDLKeyRepeatInfo () | |
~SDLKeyRepeatInfo () | |
bool | isRepeating (uint32 key) |
void | repeat (uint32 key, SDL_Event *evt) |
void | unrepeat (uint32 key) |
Public Attributes | |
RepeatMap | mRepeat |
typedef std::tr1::unordered_map<uint32, SDL_Event*> Sirikata::Input::SDLKeyRepeatInfo::RepeatMap |
Sirikata::Input::SDLKeyRepeatInfo::SDLKeyRepeatInfo | ( | ) |
Sirikata::Input::SDLKeyRepeatInfo::~SDLKeyRepeatInfo | ( | ) |
References mRepeat.
bool Sirikata::Input::SDLKeyRepeatInfo::isRepeating | ( | uint32 | key | ) |
References mRepeat.
void Sirikata::Input::SDLKeyRepeatInfo::unrepeat | ( | uint32 | key | ) |
References Sirikata::Logging::error, mRepeat, and SILOG.
Referenced by isRepeating(), repeat(), unrepeat(), and ~SDLKeyRepeatInfo().