Showing the changes to libraries/script-engine/src/KeyEvent.cpp (1 of 35 files). Show all
Unified · Split
| @@ -4,6 +4,7 @@ · 3 unmodified lines | |||
| 4 | // | 4 | // |
| 5 | // Created by Stephen Birarda on 2014-10-27. | 5 | // Created by Stephen Birarda on 2014-10-27. |
| 6 | // Copyright 2014 High Fidelity, Inc. | 6 | // Copyright 2014 High Fidelity, Inc. |
| 7 | // Copyright 2022 Overte e.V. | ||
| 7 | // | 8 | // |
| 8 | // Distributed under the Apache License, Version 2.0. | 9 | // Distributed under the Apache License, Version 2.0. |
| 9 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html | 10 | // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html |
| @@ -311,5 +312,6 @@ bool KeyEvent::fromScriptValue(const ScriptValue& object, KeyEvent& event) { · 301 unmodified lines | |||
| 311 | << " event.isKeypad=" << event.isKeypad | 312 | << " event.isKeypad=" << event.isKeypad |
| 312 | << " event.isAutoRepeat=" << event.isAutoRepeat; | 313 | << " event.isAutoRepeat=" << event.isAutoRepeat; |
| 313 | } | 314 | } |
| 315 | return event.isValid; | ||
| 314 | } | 316 | } |
| 315 | 317 | ||