diff options
author | Bastien Bouclet | 2017-09-09 16:43:55 +0200 |
---|---|---|
committer | Bastien Bouclet | 2017-11-19 16:12:50 +0100 |
commit | 8beb519c5ea2964ce409aabbe03b54afe37e0ac1 (patch) | |
tree | 7d33e93682ddba69ffdbf3625f9a6eab2c1df98f /engines/agi | |
parent | 7689fd7308020aac0bb788cafc524bd7f01077f4 (diff) | |
download | scummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.tar.gz scummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.tar.bz2 scummvm-rg350-8beb519c5ea2964ce409aabbe03b54afe37e0ac1.zip |
EVENTS: Rename synthetic to kbdRepeat
Diffstat (limited to 'engines/agi')
-rw-r--r-- | engines/agi/keyboard.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/agi/keyboard.cpp b/engines/agi/keyboard.cpp index 8fb49fdf02..8fd30eda54 100644 --- a/engines/agi/keyboard.cpp +++ b/engines/agi/keyboard.cpp @@ -164,42 +164,42 @@ void AgiEngine::processScummVMEvents() { switch (event.kbd.keycode) { case Common::KEYCODE_LEFT: case Common::KEYCODE_KP4: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_LEFT; break; case Common::KEYCODE_RIGHT: case Common::KEYCODE_KP6: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_RIGHT; break; case Common::KEYCODE_UP: case Common::KEYCODE_KP8: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_UP; break; case Common::KEYCODE_DOWN: case Common::KEYCODE_KP2: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_DOWN; break; case Common::KEYCODE_PAGEUP: case Common::KEYCODE_KP9: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_UP_RIGHT; break; case Common::KEYCODE_PAGEDOWN: case Common::KEYCODE_KP3: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_DOWN_RIGHT; break; case Common::KEYCODE_HOME: case Common::KEYCODE_KP7: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_UP_LEFT; break; case Common::KEYCODE_END: case Common::KEYCODE_KP1: - if (_allowSynthetic || !event.synthetic) + if (_allowSynthetic || !event.kbdRepeat) key = AGI_KEY_DOWN_LEFT; break; case Common::KEYCODE_KP5: |