From 07414ed57679febc65bb84693221a2c805876927 Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Sat, 25 Jun 2016 17:03:22 -0700 Subject: [PATCH] Add `Cmd` mapping for `KMOD_GUI` This maps to the Command key on MacOS machines, a very important key for those that wish to obey things like the typical close keystroke (CMD + W) or the typical save keystroke (CMD + S) --- src/Magnum/Platform/Sdl2Application.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Magnum/Platform/Sdl2Application.h b/src/Magnum/Platform/Sdl2Application.h index 2363d8dc8..5d1655c05 100644 --- a/src/Magnum/Platform/Sdl2Application.h +++ b/src/Magnum/Platform/Sdl2Application.h @@ -975,6 +975,7 @@ class Sdl2Application::InputEvent { Ctrl = KMOD_CTRL, /**< Ctrl */ Alt = KMOD_ALT, /**< Alt */ AltGr = KMOD_MODE, /**< AltGr */ + Cmd = KMOD_GUI, /**< Cmd */ CapsLock = KMOD_CAPS, /**< Caps lock */ NumLock = KMOD_NUM /**< Num lock */