godot/core
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
..
bind fixed ClassDB inconsistencies 2017-03-13 21:17:31 +01:00
helper A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
io A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
math A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
os Input: bind parse_input_event() 2017-03-19 09:20:44 +01:00
allocators.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
array.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
array.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
class_db.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
class_db.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
color.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
color.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
color_names.inc Add missing map.h include in color defs 2017-01-15 12:51:47 +01:00
command_queue_mt.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
command_queue_mt.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
compressed_translation.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
compressed_translation.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
core_string_names.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
core_string_names.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dictionary.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dictionary.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dvector.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
dvector.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
engine.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
engine.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
error_list.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
error_macros.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
error_macros.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
event_queue.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
event_queue.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
func_ref.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
func_ref.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
global_config.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
global_config.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
global_constants.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
global_constants.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
hash_map.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
hashfuncs.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +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 A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
image.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
input_map.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
input_map.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
int_types.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
list.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
make_binders.py ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to Variant. 2017-01-02 23:03:46 -03:00
map.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
message_queue.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
message_queue.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
method_bind.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
method_bind.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
method_ptrcall.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
object.cpp fixed ClassDB inconsistencies 2017-03-13 21:17:31 +01:00
object.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
packed_data_container.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
packed_data_container.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
pair.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
path_db.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
path_db.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
path_remap.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
path_remap.h Removed import/export system, will start new one from scratch. 2017-01-25 21:57:08 -03:00
pool_allocator.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
pool_allocator.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
print_string.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
print_string.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ref_ptr.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ref_ptr.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
reference.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
reference.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
register_core_types.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
register_core_types.h -Changed most project settings in the engine, so they have major and minor categories. 2017-01-05 09:16:00 -03:00
resource.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
resource.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rid.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
rid.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ring_buffer.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
safe_refcount.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
safe_refcount.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_debugger_local.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_debugger_local.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_debugger_remote.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_debugger_remote.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_language.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
script_language.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
SCsub Implement single-field property change for multinode edit 2017-03-02 10:42:05 +01:00
self_list.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
set.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
simple_type.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
sort.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
string_db.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
string_db.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
translation.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
translation.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
typedefs.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ucaps.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
undo_redo.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
undo_redo.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ustring.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
ustring.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant.cpp fixed ClassDB inconsistencies 2017-03-13 21:17:31 +01:00
variant.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant_call.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant_construct_string.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant_op.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant_parser.cpp A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
variant_parser.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
vector.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
vmap.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00
vset.h A Whole New World (clang-format edition) 2017-03-05 16:44:50 +01:00