You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Add action map editor for OpenXR
This commit is contained in:
@@ -1489,8 +1489,8 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
GLOBAL_DEF("input_devices/pointing/ios/touch_delay", 0.150);
|
||||
|
||||
// XR project settings.
|
||||
GLOBAL_DEF_BASIC("xr/openxr/enabled", false);
|
||||
GLOBAL_DEF_BASIC("xr/openxr/default_action_map", "res://default_action_map.tres");
|
||||
GLOBAL_DEF_RST_BASIC("xr/openxr/enabled", false);
|
||||
GLOBAL_DEF_BASIC("xr/openxr/default_action_map", "res://openxr_action_map.tres");
|
||||
ProjectSettings::get_singleton()->set_custom_property_info("xr/openxr/default_action_map", PropertyInfo(Variant::STRING, "xr/openxr/default_action_map", PROPERTY_HINT_FILE, "*.tres"));
|
||||
|
||||
GLOBAL_DEF_BASIC("xr/openxr/form_factor", "0");
|
||||
|
||||
Reference in New Issue
Block a user