godot/core
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
..
bind Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
helper Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
io Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
math Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
os Input: bind parse_input_event() 2017-03-19 08:33:07 +01:00
SCsub Implement single-field property change for multinode edit 2017-03-02 10:48:24 +01:00
allocators.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
array.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
array.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
color.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
color.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
color_names.inc Add missing map.h include in color defs 2017-03-19 00:32:58 +01:00
command_queue_mt.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
command_queue_mt.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
compressed_translation.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
compressed_translation.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
core_string_names.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
core_string_names.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dictionary.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dictionary.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dvector.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
dvector.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
error_list.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
error_macros.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
error_macros.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
event_queue.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
event_queue.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
func_ref.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
func_ref.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
global_constants.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
global_constants.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
globals.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
globals.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
hash_map.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
hashfuncs.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
hq2x.cpp Fixed HQ2x compiler warnings 2016-07-05 16:52:31 +02:00
hq2x.h Finalized DynamicFont implementation 2016-05-29 11:37:52 -03:00
image.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
image.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
image_quantize.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
input_map.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
input_map.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
int_types.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
list.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
make_binders.py style: Fix PEP8 blank lines issues in Python files 2016-11-02 22:29:36 +01:00
map.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
message_queue.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
message_queue.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
method_bind.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
method_bind.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
method_ptrcall.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
object.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
object.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
object_type_db.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
object_type_db.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
packed_data_container.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
packed_data_container.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
pair.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
path_db.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
path_db.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
path_remap.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
path_remap.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
pool_allocator.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
pool_allocator.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
print_string.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
print_string.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ref_ptr.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ref_ptr.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
reference.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
reference.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
register_core_types.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
register_core_types.h Welcome in 2017, dear changelog reader! 2017-01-12 19:15:30 +01:00
resource.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
resource.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
rid.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
rid.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ring_buffer.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
safe_refcount.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
safe_refcount.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_debugger_local.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_debugger_local.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_debugger_remote.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_debugger_remote.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_language.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
script_language.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
self_list.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
set.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
simple_type.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
sort.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
string_db.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
string_db.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
translation.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
translation.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
typedefs.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ucaps.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
undo_redo.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
undo_redo.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ustring.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
ustring.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant_call.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant_construct_string.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant_op.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant_parser.cpp Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
variant_parser.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
vector.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
vmap.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00
vset.h Bring that Whole New World to the Old Continent too 2017-03-19 00:36:26 +01:00