Skip to content

Commit

Permalink
SDL: Allow for the meta key flag to be used
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Apr 9, 2012
1 parent f58d834 commit ec0b4f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backends/events/sdl/sdl-events.cpp
Expand Up @@ -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)
Expand Down

0 comments on commit ec0b4f7

Please sign in to comment.