diff options
author | Jody Northup | 2009-08-15 09:12:36 +0000 |
---|---|---|
committer | Jody Northup | 2009-08-15 09:12:36 +0000 |
commit | 8d051e24feeb2e7410d7676328ad66fbf04a95c8 (patch) | |
tree | 72cfb648a26fbfb95d54d691bafb767baa3723a8 /backends/platform/sdl | |
parent | 6ede8310932ab8a79310ebd6b0a14eaf687c1708 (diff) | |
download | scummvm-rg350-8d051e24feeb2e7410d7676328ad66fbf04a95c8.tar.gz scummvm-rg350-8d051e24feeb2e7410d7676328ad66fbf04a95c8.tar.bz2 scummvm-rg350-8d051e24feeb2e7410d7676328ad66fbf04a95c8.zip |
Added support for mapping keys to ctrl, alt, shift, or combinations thereof (though ctrl+alt will never trigger for some reason)
svn-id: r43398
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/hardwarekeys.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backends/platform/sdl/hardwarekeys.cpp b/backends/platform/sdl/hardwarekeys.cpp index 623e8b50cf..506e71d092 100644 --- a/backends/platform/sdl/hardwarekeys.cpp +++ b/backends/platform/sdl/hardwarekeys.cpp @@ -163,12 +163,12 @@ static const Key keys[] = { // Modifier keys pressed alone -// {"RSHIFT", KEYCODE_RSHIFT, 0, "Right Shift", kModiferKeyType, ~KBD_SHIFT}, -// {"LSHIFT", KEYCODE_LSHIFT, 0, "Left Shift", kModiferKeyType, ~KBD_SHIFT}, -// {"RCTRL", KEYCODE_RCTRL, 0, "Right Ctrl", kModiferKeyType, ~KBD_CTRL}, -// {"LCTRL", KEYCODE_LCTRL, 0, "Left Ctrl", kModiferKeyType, ~KBD_CTRL}, -// {"RALT", KEYCODE_RALT, 0, "Right Alt", kModiferKeyType, ~KBD_ALT}, -// {"LALT", KEYCODE_LALT, 0, "Left Alt", kModiferKeyType, ~KBD_ALT}, + {"RSHIFT", KEYCODE_RSHIFT, 0, "Right Shift", kModiferKeyType, ~KBD_SHIFT}, + {"LSHIFT", KEYCODE_LSHIFT, 0, "Left Shift", kModiferKeyType, ~KBD_SHIFT}, + {"RCTRL", KEYCODE_RCTRL, 0, "Right Ctrl", kModiferKeyType, ~KBD_CTRL}, + {"LCTRL", KEYCODE_LCTRL, 0, "Left Ctrl", kModiferKeyType, ~KBD_CTRL}, + {"RALT", KEYCODE_RALT, 0, "Right Alt", kModiferKeyType, ~KBD_ALT}, + {"LALT", KEYCODE_LALT, 0, "Left Alt", kModiferKeyType, ~KBD_ALT}, // Miscellaneous function keys |