You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Add Android project settings for gesture support
- Include project setting to enable long press for Android devices - Include project setting to enable pan and scale gestures on Android devices
This commit is contained in:
@@ -1579,6 +1579,9 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
|
||||
id->set_emulate_mouse_from_touch(bool(GLOBAL_DEF("input_devices/pointing/emulate_mouse_from_touch", true)));
|
||||
}
|
||||
|
||||
GLOBAL_DEF("input_devices/pointing/android/enable_long_press_as_right_click", false);
|
||||
GLOBAL_DEF("input_devices/pointing/android/enable_pan_and_scale_gestures", false);
|
||||
|
||||
MAIN_PRINT("Main: Load Translations and Remaps");
|
||||
|
||||
translation_server->setup(); //register translations, load them, etc.
|
||||
|
||||
Reference in New Issue
Block a user