aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorTarek Soliman2012-02-04 19:53:16 -0600
committerTarek Soliman2012-02-04 19:53:57 -0600
commitda4b03139d83dd08f39b7eda7579395436feda7d (patch)
tree2452a0a11334d9ef7fd247d15864985c8b2e91d7 /base
parente8ef680400cf1d7e406bdf8793019a624f4f1d08 (diff)
downloadscummvm-rg350-da4b03139d83dd08f39b7eda7579395436feda7d.tar.gz
scummvm-rg350-da4b03139d83dd08f39b7eda7579395436feda7d.tar.bz2
scummvm-rg350-da4b03139d83dd08f39b7eda7579395436feda7d.zip
KEYMAPPER: Added Toggle FullScreen action
Diffstat (limited to 'base')
-rw-r--r--base/main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/main.cpp b/base/main.cpp
index c6f29bc33e..9bf67a3cdc 100644
--- a/base/main.cpp
+++ b/base/main.cpp
@@ -292,6 +292,9 @@ static void setupKeymapper(OSystem &system) {
act = new Action(globalMap, "REMP", _("Remap keys"), kKeyRemapActionType);
act->addKeyEvent(KeyState(KEYCODE_F8, ASCII_F8, 0));
+ act = new Action(globalMap, "FULS", _("Toggle FullScreen"), kKeyRemapActionType);
+ act->addKeyEvent(KeyState(KEYCODE_RETURN, ASCII_RETURN, KBD_ALT));
+
mapper->addGlobalKeymap(globalMap);
mapper->pushKeymap(kGlobalKeymapName, true);