diff options
author | Colin Snover | 2017-07-16 01:22:18 -0500 |
---|---|---|
committer | Colin Snover | 2017-07-16 01:33:57 -0500 |
commit | b4c0be8b42d63cbf3c808be1a94839483f674ce9 (patch) | |
tree | c5e0c25d1f78fd1f39013f3bb42380862aba7cf3 /gui/widgets/scrollcontainer.cpp | |
parent | 8e0ccc5eb144a458d3e12cae24fa7970a7d9a749 (diff) | |
download | scummvm-rg350-b4c0be8b42d63cbf3c808be1a94839483f674ce9.tar.gz scummvm-rg350-b4c0be8b42d63cbf3c808be1a94839483f674ce9.tar.bz2 scummvm-rg350-b4c0be8b42d63cbf3c808be1a94839483f674ce9.zip |
SCI: Fix control character keyboard events
Used by:
* All games with text inputs (Ctrl+C clears text boxes)
* QFG1VGA (Ctrl+S shows stats)
* Torin (Ctrl+N, Ctrl+O, Ctrl+S, etc. activate menu commands)
The branch that used to shift control keys for SCI versions <=
SCI_VERSION_1_MIDDLE was bogus; history indicates it was intended
to be used to fix backends that sent control characters when
Ctrl+Alt were used together, but that case is already handled by
the Alt-checking code just prior to that code. Games expect to
receive control characters only when Ctrl is the only active
modifier, and this seems to be consistent across all versions of
SCI engine from SCI0 all the way through at least SCI2.1.
Fixes Trac#6703, Trac#9837.
Diffstat (limited to 'gui/widgets/scrollcontainer.cpp')
0 files changed, 0 insertions, 0 deletions