diff options
author | Stephen Kennedy | 2008-08-14 21:21:05 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-08-14 21:21:05 +0000 |
commit | 86d0c8cb118f21ebeb0180672ecf24823e6d7956 (patch) | |
tree | 3734e80a711f53689d1a6e136377ac509c5ef3bb /backends/platform/sdl | |
parent | 08ef79ce45b2e525b67989b858a8652b3f7ed849 (diff) | |
download | scummvm-rg350-86d0c8cb118f21ebeb0180672ecf24823e6d7956.tar.gz scummvm-rg350-86d0c8cb118f21ebeb0180672ecf24823e6d7956.tar.bz2 scummvm-rg350-86d0c8cb118f21ebeb0180672ecf24823e6d7956.zip |
Fixed simple keymap test
svn-id: r33874
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/events.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index ad62ddb6f5..bc8f3c8f8c 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -546,16 +546,16 @@ void OSystem_SDL::setupKeymapper() { ADD_KEYDOWN_EVENT(KEYCODE_F5, ASCII_F5, 0) global->addAction(act); - act = new Action('QUIT', "Quit", kGenericActionCategory, kQuitAction); + act = new Action('SKCT', "Skip"); ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); global->addAction(act); - act = new Action('MENQ', "Menu", kGenericActionCategory, kMenuAction); - ADD_KEYDOWN_EVENT(KEYCODE_F5, ASCII_F5, 0) + act = new Action('PAUS', "Pause"); + ADD_KEYDOWN_EVENT(KEYCODE_SPACE, ' ', 0) global->addAction(act); - act = new Action('QUIQ', "Quit", kGenericActionCategory, kQuitAction); - ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + act = new Action('SKLI', "Skip line"); + ADD_KEYDOWN_EVENT(Common::KEYCODE_PERIOD, '.', 0); global->addAction(act); act = new Action('JUMP', "Jump"); @@ -576,6 +576,6 @@ void OSystem_SDL::setupKeymapper() { mapper->addGlobalKeymap(specific); mapper->pushKeymap("global"); - mapper->pushKeymap("specific", true); + //mapper->pushKeymap("specific", true); } |