Add Virtual Mouse to Android Editor#118253
Conversation
|
Would look good together with #116716 |
|
What is the exact version? In the video, I saw it only said 4.7.dev, but we're on dev3. I plan to make a video about it on YouTube. |
|
Closing as per godotengine/godot-proposals#14613 (comment) |
|
@welson-rodrigues Yeah it's actually the |
@Amn4583 Thank you very much, I will definitely test it! Are you thinking of making it available as a plugin in Godot's assets directory, or leaving it on GitHub for forks and such? |
Right now, I am not thinking of turning it into a plugin. The reason is simple. It involves modification of complex touch gestures and the core input system. I don't even know that making this as a plugin is possible or not. For now, I am leaving it on GitHub. |
This PR introduces a new touch control for the Android editor called
VirtualMouse. It aims to address several issues in the Android editor, such as:The
VirtualMouseis designed to enhance usability and provide a smoother experience for touch-based interactions in the editor. This newVirtualMouseworks like a laptop trackpad allowing precise control without obscuring the target. This is also beneficial for the larger screen devices like tablets.virtual_mouse.mp4
Gestures:
virtual_mouse_gesture.mp4
The system is toggleable via
Editor Settings > Interface > Touchscreen > Enable Virtual Mousewith an adjustable sensitivity setting. It doesn't interfere while running the games because it only works in the editor.virtual_mouse_settings.mp4
Important Note: It is very important to disable Long Press as Right Click and Pan and Scale Gestures to avoid any gesture conflicts.
Closes godotengine/godot-proposals#14613