godot/core/os
Andreas Haas a69e449782
Input: bind parse_input_event()
When using get_tree().input_event(ev), the engine will JUST send the event down the SceneTree.
However, you won't get any of the benefits of the Input singleton:
- No InputMap actions will be emitted
- The internal input state won't be modified, so methods like `Input.get_mouse_pos()` or `Input.is_joy_button_pressed` won't return the expected output after sending the event.

This is fixed by using `Input.parse_input_event(ev)` instead.
I guess we'll also have to update the docs to reflect that this is the preferred method of sending custom InputEvents.
2017-03-19 09:20:44 +01:00
..
copymem.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dir_access.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dir_access.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
file_access.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
file_access.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
input.cpp Input: bind parse_input_event() 2017-03-19 09:20:44 +01:00
input.h Input: bind parse_input_event() 2017-03-19 09:20:44 +01:00
input_event.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
input_event.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
keyboard.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
keyboard.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
main_loop.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
main_loop.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
memory.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
memory.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
mutex.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
mutex.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
os.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
os.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
power.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rw_lock.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rw_lock.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-01 00:35:16 +01:00
semaphore.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
semaphore.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
shell.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
shell.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread_dummy.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread_dummy.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread_safe.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
thread_safe.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00