diff options
author | Martin Kiewitz | 2016-02-02 01:55:34 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-02 01:56:08 +0100 |
commit | c0bdbe1ca88967bddd877e14d1e99d3fedaf715e (patch) | |
tree | 8a7ec7b01f806f1b4b2ea61cb3aa5662e27485cb /engines/lure/res.h | |
parent | 727ba4f2b1f20173e7a7f5ab6cb2910382785fe9 (diff) | |
download | scummvm-rg350-c0bdbe1ca88967bddd877e14d1e99d3fedaf715e.tar.gz scummvm-rg350-c0bdbe1ca88967bddd877e14d1e99d3fedaf715e.tar.bz2 scummvm-rg350-c0bdbe1ca88967bddd877e14d1e99d3fedaf715e.zip |
SCI: Fix control/Fx keys not working anymore
Was effectively caused by commit adding the keyboard driver bug
for SCI0/SCI01, although the bug is actually real and happens.
It seems Sierra did not check the key-modifier in kMenuSelect.
We do and that's why the code didn't recognize all sorts of
menu keys anymore.
We now isolate the lower byte before comparing.
I also noticed, that Sierra passed keyboard modifiers in mouse
events. This was probably done, so that owners of a 1-button
mouse were able to right-click. We do this now too.
Also added information about mouse modifiers in kGetEvent.
Moved the mouse modifier code into getScummVMEvent().
This should fix bug #7009.
Diffstat (limited to 'engines/lure/res.h')
0 files changed, 0 insertions, 0 deletions