SDL: Allow for the meta key flag to be used

This commit is contained in:
Matthew Hoops 2012-04-09 11:19:25 -04:00
parent f58d834cda
commit ec0b4f7b96

View File

@ -191,6 +191,8 @@ void SdlEventSource::SDLModToOSystemKeyFlags(SDLMod mod, Common::Event &event) {
#endif
if (mod & KMOD_CTRL)
event.kbd.flags |= Common::KBD_CTRL;
if (mod & KMOD_META)
event.kbd.flags |= Common::KBD_META;
// Sticky flags
if (mod & KMOD_NUM)