diff options
author | Stephen Kennedy | 2008-08-11 23:08:21 +0000 |
---|---|---|
committer | Stephen Kennedy | 2008-08-11 23:08:21 +0000 |
commit | 300a1df2b0b801a002d369b5459112c43593e96a (patch) | |
tree | d0b06049b0ae0419973e21f8291302725a758934 /backends/platform/sdl | |
parent | 626547a7060ce3ceaec2fa735f34e70b14fc9c1e (diff) | |
download | scummvm-rg350-300a1df2b0b801a002d369b5459112c43593e96a.tar.gz scummvm-rg350-300a1df2b0b801a002d369b5459112c43593e96a.tar.bz2 scummvm-rg350-300a1df2b0b801a002d369b5459112c43593e96a.zip |
Remap dialog WIP
svn-id: r33791
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/events.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/backends/platform/sdl/events.cpp b/backends/platform/sdl/events.cpp index f7242393b1..1f287bf092 100644 --- a/backends/platform/sdl/events.cpp +++ b/backends/platform/sdl/events.cpp @@ -549,6 +549,30 @@ void OSystem_SDL::setupKeymapper() { ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); global->addAction(act); + + act = new Action('QUIY', "Quit", kGenericActionCategory, kQuitAction); + ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + global->addAction(act); + + + act = new Action('QUIU', "Quit", kGenericActionCategory, kQuitAction); + ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + global->addAction(act); + + + act = new Action('QUII', "Quit", kGenericActionCategory, kQuitAction); + ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + global->addAction(act); + + + act = new Action('QUIG', "Quit", kGenericActionCategory, kQuitAction); + ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + global->addAction(act); + + act = new Action('QUIH', "Quit", kGenericActionCategory, kQuitAction); + ADD_KEYDOWN_EVENT(KEYCODE_ESCAPE, ASCII_ESCAPE, 0); + global->addAction(act); + #undef ADD_KEYDOWN_EVENT mapper->addGlobalKeymap(global); |