mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-04 15:00:09 +01:00
This is required to benefit from crisp display on hiDPI monitors. This also fixes issues related to fullscreen and input handling when using an hiDPI display on Windows.
70 lines
2.2 KiB
Plaintext
70 lines
2.2 KiB
Plaintext
; Engine configuration file.
|
|
; It's best edited using the editor UI and not directly,
|
|
; since the parameters that go here are not all obvious.
|
|
;
|
|
; Format:
|
|
; [section] ; section goes between []
|
|
; param=value ; assign values to parameters
|
|
|
|
config_version=4
|
|
|
|
_global_script_classes=[ ]
|
|
_global_script_class_icons={
|
|
|
|
}
|
|
|
|
[application]
|
|
|
|
config/name="Input Mapping GUI"
|
|
config/description="A demo showing how to build an input key remapping screen.
|
|
|
|
- Click the buttons to change the bound keys.
|
|
- Persists the keys to disk, so they are preserved
|
|
after the project is restarted."
|
|
run/main_scene="res://InputRemapMenu.tscn"
|
|
config/icon="res://icon.png"
|
|
|
|
[display]
|
|
|
|
window/size/width=640
|
|
window/size/height=480
|
|
window/dpi/allow_hidpi=true
|
|
window/stretch/mode="2d"
|
|
window/stretch/aspect="expand"
|
|
|
|
[gdnative]
|
|
|
|
singletons=[ ]
|
|
|
|
[input]
|
|
|
|
move_right={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777233,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
move_left={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777231,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
look_up={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777232,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
crouch={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777234,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
dash={
|
|
"deadzone": 0.5,
|
|
"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777237,"unicode":0,"echo":false,"script":null)
|
|
]
|
|
}
|
|
|
|
[rendering]
|
|
|
|
quality/driver/driver_name="GLES2"
|