1 #include "stdafx.h" 2 #include "keybinding_map.h" 3 #include "gui_elem.h" 4 KeybindingMap(const FilePath &)5KeybindingMap::KeybindingMap(const FilePath&) { 6 } 7 matches(Keybinding key,SDL::SDL_Keysym sym)8bool KeybindingMap::matches(Keybinding key, SDL::SDL_Keysym sym) { 9 switch (key) { 10 case Keybinding::CREATE_IMP: 11 return sym.sym == SDL::SDLK_i && !GuiFactory::isAlt(sym) && !GuiFactory::isCtrl(sym) && !GuiFactory::isShift(sym); 12 } 13 } 14