keebie/scenes/debug_key_display.tscn

73 lines
1.9 KiB
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://df16rl6w7vvw"]
[ext_resource type="Script" uid="uid://b6le5a242mb10" path="res://scripts/debug/debug_key_display.gd" id="1_2tk3f"]
[sub_resource type="SystemFont" id="SystemFont_lskjn"]
font_names = PackedStringArray("Monospace")
font_weight = 600
subpixel_positioning = 0
[node name="DebugKeyDisplay" type="Control" node_paths=PackedStringArray("_input_label", "_layout_label")]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_2tk3f")
_input_label = NodePath("InputLabel")
_layout_label = NodePath("LayoutLabel")
[node name="InputLabel" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -400.0
offset_right = 400.0
offset_bottom = -602.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/outline_size = 10
theme_override_fonts/normal_font = SubResource("SystemFont_lskjn")
theme_override_font_sizes/normal_font_size = 24
bbcode_enabled = true
text = "key_label: 49
keycode: 49
location: 0
physical_keycode: 49
unicode: 49
as_text_key_label: 1
as_text_keycode: 1
as_text_location:
as_text_physical_keycode: 1
get_key_label_with_modifiers: 49
get_keycode_with_modifiers: 49
get_physical_keycode_with_modifiers: 49
"
[node name="LayoutLabel" type="RichTextLabel" parent="."]
layout_mode = 1
anchors_preset = 13
anchor_left = 0.5
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -400.0
offset_top = 423.0
offset_right = 400.0
offset_bottom = -458.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
theme_override_constants/outline_size = 10
theme_override_fonts/normal_font = SubResource("SystemFont_lskjn")
theme_override_font_sizes/normal_font_size = 32
bbcode_enabled = true
text = "awaiting input..."
horizontal_alignment = 1