godot/editor
Pedro J. Estébanez de9d40a953 Implement universal translation of touch to mouse
Now generating mouse events from touch is optional (on by default) and it's performed by `InputDefault` instead of having each OS abstraction doing it. (*)

The translation algorithm waits for a touch index to be pressed and tracks it translating its events to mouse events until it is raised, while ignoring other pointers.

Furthermore, to avoid an stuck "touch mouse", since not all platforms may report touches raised when the window is unfocused, it checks if touches are still down by the time it's focused again and if so it resets the state of the emulated mouse.

*: In the case of Windows, since it already provides touch-to-mouse translation by itself, "echo" mouse events are filtered out to have it working like the rest.

On X11 a little hack has been needed to avoid a case of a spurious mouse motion event that is generated during touch interaction.

Plus: Improve/fix tracking of current mouse position.

** Summary of changes to settings: **

- `display/window/handheld/emulate_touchscreen` becomes `input/pointing_devices/emulate_touch_from_mouse`
- New setting: `input/pointing_devices/emulate_mouse_from_touch`
2018-04-30 19:03:38 +02:00
..
collada
doc Refactor version macros and fix related bugs 2018-02-23 20:15:29 +01:00
fileserver
icons Merge pull request #17440 from viktor-ferenczi/issue-5042 2018-03-13 11:49:58 +01:00
import Merge pull request #16297 from lpn/master 2018-04-08 18:41:46 -03:00
plugins Merge pull request #16571 from Zylann/find_in_files 2018-04-08 17:24:26 -03:00
translations Properly closing all files in Python code 2018-03-11 14:55:50 +01:00
animation_editor.cpp Merge pull request #17379 from poke1024/fix-anim-popups 2018-03-13 11:55:17 +01:00
animation_editor.h
array_property_edit.cpp
array_property_edit.h
code_editor.cpp Fixes replace all not replacing the first word 2018-03-25 15:39:37 +08:00
code_editor.h
connections_dialog.cpp
connections_dialog.h
create_dialog.cpp Merge pull request #16995 from mrcdk/custom_resources_inspector 2018-04-08 11:49:34 -03:00
create_dialog.h
dependency_editor.cpp
dependency_editor.h
dictionary_property_edit.cpp Fix typos with codespell 2018-02-21 19:46:06 +01:00
dictionary_property_edit.h
editor_about.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
editor_about.h
editor_asset_installer.cpp
editor_asset_installer.h
editor_audio_buses.cpp Merge pull request #17013 from Noshyaar/theme 2018-03-13 13:48:37 +01:00
editor_audio_buses.h
editor_autoload_settings.cpp Fix column width on AutoLoad table on hidpi displays 2018-03-11 15:28:23 +01:00
editor_autoload_settings.h
editor_data.cpp Now the inspector will show the custom resources added via plugin 2018-02-25 01:41:26 +01:00
editor_data.h Now the inspector will show the custom resources added via plugin 2018-02-25 01:41:26 +01:00
editor_dir_dialog.cpp
editor_dir_dialog.h
editor_export.cpp Improved error checking at EditorExportPlatformPC::export_project 2018-03-06 14:23:17 -03:00
editor_export.h
editor_file_dialog.cpp Icons update 2018-02-21 19:05:50 -06:00
editor_file_dialog.h
editor_file_system.cpp Merge pull request #17420 from marcelofg55/fscache_err_checks 2018-03-14 09:21:31 +01:00
editor_file_system.h
editor_fonts.cpp Add an hinting mode setting to DynamicFonts 2018-02-28 00:12:26 +01:00
editor_fonts.h
editor_help.cpp Ctrl+Clicking a enum now scrolls down to it in the docs. 2018-04-03 21:56:54 +02:00
editor_help.h Ctrl+Clicking a enum now scrolls down to it in the docs. 2018-04-03 21:56:54 +02:00
editor_initialize_ssl.cpp
editor_initialize_ssl.h
editor_log.cpp Show error icon at "Output" in case of errors 2018-03-11 14:20:32 +01:00
editor_log.h Show error icon at "Output" in case of errors 2018-03-11 14:20:32 +01:00
editor_name_dialog.cpp
editor_name_dialog.h
editor_node.cpp Implement universal translation of touch to mouse 2018-04-30 19:03:38 +02:00
editor_node.h Drag to rearrange Tabs and TabContainer 2018-04-08 20:23:37 -04:00
editor_path.cpp
editor_path.h
editor_plugin_settings.cpp
editor_plugin_settings.h
editor_plugin.cpp Merge pull request #17576 from Mr-Slurpy/master 2018-03-23 11:08:03 +01:00
editor_plugin.h
editor_profiler.cpp
editor_profiler.h
editor_resource_preview.cpp
editor_resource_preview.h
editor_run_native.cpp
editor_run_native.h
editor_run_script.cpp
editor_run_script.h
editor_run.cpp
editor_run.h
editor_scale.cpp
editor_scale.h
editor_settings.cpp Merge pull request #17706 from Calinou/overhaul-hidpi-settings 2018-03-23 14:12:20 +01:00
editor_settings.h
editor_sub_scene.cpp
editor_sub_scene.h
editor_themes.cpp Add radio-button-looking entries to PopupMenu 2018-03-27 19:19:45 +02:00
editor_themes.h
export_template_manager.cpp Fix version.txt validation logic for export templates .tpz 2018-02-25 15:24:33 +01:00
export_template_manager.h
file_type_cache.cpp
file_type_cache.h
filesystem_dock.cpp Merge pull request #18054 from Mintormo/bugfix-inconsistent-sort-in-file-manager 2018-04-09 17:56:43 +02:00
filesystem_dock.h update favorite_dirs list after move or rename a dir 2018-02-28 15:14:12 -08:00
find_in_files.cpp
find_in_files.h
groups_editor.cpp
groups_editor.h
import_dock.cpp
import_dock.h
multi_node_edit.cpp
multi_node_edit.h
node_dock.cpp
node_dock.h
output_strings.cpp
output_strings.h
pane_drag.cpp
pane_drag.h
progress_dialog.cpp
progress_dialog.h
project_export.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
project_export.h
project_manager.cpp Overhaul the display scaling editor settings 2018-03-23 14:04:39 +01:00
project_manager.h
project_settings_editor.cpp Allows to map an action to all devices. 2018-04-07 20:08:09 +00:00
project_settings_editor.h Allows to map an action to all devices. 2018-04-07 20:08:09 +00:00
property_editor.cpp Fix #18058 regression 2018-04-08 20:01:38 +03:00
property_editor.h
property_selector.cpp
property_selector.h
pvrtc_compress.cpp
pvrtc_compress.h
quick_open.cpp
quick_open.h
register_exporters.h
reparent_dialog.cpp
reparent_dialog.h
run_settings_dialog.cpp
run_settings_dialog.h
scene_tree_dock.cpp Merge pull request #17717 from NikodemL/master 2018-04-07 16:46:49 -03:00
scene_tree_dock.h
scene_tree_editor.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
scene_tree_editor.h
script_create_dialog.cpp Merge pull request #17388 from Hinsbart/mono_class_name 2018-03-15 19:47:39 +01:00
script_create_dialog.h Update icons when theme changed 2018-02-25 23:04:16 +07:00
script_editor_debugger.cpp Update icons when theme changed 2018-02-25 23:04:16 +07:00
script_editor_debugger.h
SCsub Merge pull request #17440 from viktor-ferenczi/issue-5042 2018-03-13 11:49:58 +01:00
settings_config_dialog.cpp Fix all categories unfold when one key binding is changed 2018-03-24 17:02:18 +01:00
settings_config_dialog.h
spatial_editor_gizmos.cpp
spatial_editor_gizmos.h