map->get("key", key);
map->get("control", control);
if(key < SDLK_FIRST || key >= SDLK_LAST) {
map->get("key", key);
map->get("control", control);
if(key < SDLK_FIRST || key >= SDLK_LAST) {
map->get("button", button);
map->get("control", control);
if(button < 0 || button >= max_joybuttons) {
map->get("button", button);
map->get("control", control);
if(button < 0 || button >= max_joybuttons) {
// normal mode, find key in keymap
KeyMap::iterator i = keymap.find(event.key.keysym.sym);
if(i == keymap.end()) {
// normal mode, find key in keymap
KeyMap::iterator i = keymap.find(event.key.keysym.sym);
if(i == keymap.end()) {
JoystickKeyboardController::check_cheatcode(const std::string& cheatcode)
{
if(cheatcode.size() > sizeof(last_keys)) {
JoystickKeyboardController::check_cheatcode(const std::string& cheatcode)
{
if(cheatcode.size() > sizeof(last_keys)) {