Using KEYCODE_f and KEYCODE_g instead of 'f' and 'g' to check for fast-mode-keys
svn-id: r27669
This commit is contained in:
parent
6ef494ab28
commit
04afb9bc7d
1 changed files with 2 additions and 2 deletions
|
@ -108,9 +108,9 @@ void Util::processInput(bool scroll) {
|
|||
break;
|
||||
case Common::EVENT_KEYDOWN:
|
||||
if (event.kbd.flags == Common::KBD_CTRL) {
|
||||
if (event.kbd.keycode == 'f')
|
||||
if (event.kbd.keycode == Common::KEYCODE_f)
|
||||
_fastMode ^= 1;
|
||||
else if (event.kbd.keycode == 'g')
|
||||
else if (event.kbd.keycode == Common::KEYCODE_g)
|
||||
_fastMode ^= 2;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue