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 /backends/events/default | |
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 'backends/events/default')
-rw-r--r-- | backends/events/default/default-events.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/events/default/default-events.cpp b/backends/events/default/default-events.cpp index 667914b023..ad7cfced86 100644 --- a/backends/events/default/default-events.cpp +++ b/backends/events/default/default-events.cpp @@ -97,7 +97,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) { } if (result) { - event.synthetic = false; + event.kbdRepeat = false; switch (event.type) { case Common::EVENT_KEYDOWN: _modifierState = event.kbd.flags; @@ -233,7 +233,7 @@ bool DefaultEventManager::pollEvent(Common::Event &event) { if (_currentKeyDown.keycode != 0 && _keyRepeatTime < time) { // fire event event.type = Common::EVENT_KEYDOWN; - event.synthetic = true; + event.kbdRepeat = true; event.kbd.ascii = _currentKeyDown.ascii; event.kbd.keycode = (Common::KeyCode)_currentKeyDown.keycode; event.kbd.flags = _currentKeyDown.flags; |