|
@@ -1027,6 +1027,20 @@ ProjectSettings::ProjectSettings() {
|
|
|
GLOBAL_DEF("input/ui_page_down", va);
|
|
|
input_presets.push_back("input/ui_page_down");
|
|
|
|
|
|
+ va = Array();
|
|
|
+ key.instance();
|
|
|
+ key->set_scancode(KEY_HOME);
|
|
|
+ va.push_back(key);
|
|
|
+ GLOBAL_DEF("input/ui_home", va);
|
|
|
+ input_presets.push_back("input/ui_home");
|
|
|
+
|
|
|
+ va = Array();
|
|
|
+ key.instance();
|
|
|
+ key->set_scancode(KEY_END);
|
|
|
+ va.push_back(key);
|
|
|
+ GLOBAL_DEF("input/ui_end", va);
|
|
|
+ input_presets.push_back("input/ui_end");
|
|
|
+
|
|
|
//GLOBAL_DEF("display/window/handheld/orientation", "landscape");
|
|
|
|
|
|
custom_prop_info["display/window/handheld/orientation"] = PropertyInfo(Variant::STRING, "display/window/handheld/orientation", PROPERTY_HINT_ENUM, "landscape,portrait,reverse_landscape,reverse_portrait,sensor_landscape,sensor_portrait,sensor");
|