godot/core/os
Andreas Haas 2f1a0448a7
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 08:33:07 +01:00
..
copymem.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dir_access.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dir_access.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
file_access.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
file_access.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
input.cpp Input: bind parse_input_event() 2017-03-19 08:33:07 +01:00
input.h Input: bind parse_input_event() 2017-03-19 08:33:07 +01:00
input_event.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
input_event.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
keyboard.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
keyboard.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
main_loop.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
main_loop.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic_prealloc.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic_prealloc.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic_static.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_dynamic_static.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_static.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
memory_pool_static.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
mutex.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
mutex.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
os.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
os.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
SCsub style: Fix PEP8 whitespace issues in Python files 2016-11-02 22:28:28 +01:00
semaphore.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
semaphore.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
shell.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
shell.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread_dummy.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread_dummy.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread_safe.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
thread_safe.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00