[gd_scene load_steps=5 format=3 uid="uid://spe4kya7ntv8"]

[ext_resource type="PackedScene" uid="uid://crstqa7v6ehg3" path="res://OQ_Toolkit/OQ_UI2D/OQ_UI2DCanvas.tscn" id="1"]
[ext_resource type="PackedScene" uid="uid://cjghkpsy3r8tp" path="res://OQ_Toolkit/OQ_UI2D/controls/VirtualKeyboard.tscn" id="2"]
[ext_resource type="Script" path="res://OQ_Toolkit/OQ_UI2D/scripts/OQ_UI2DKeyboard.gd" id="3"]
[ext_resource type="Theme" uid="uid://dvcjel72een6o" path="res://OQ_Toolkit/OQ_UI2D/theme/oq_ui2d_standard.theme" id="4"]

[node name="OQ_UI2DKeyboard" type="Node3D"]
script = ExtResource("3")

[node name="OQ_UI2DCanvas_Keyboard" parent="." instance=ExtResource("1")]

[node name="VirtualKeyboard" parent="OQ_UI2DCanvas_Keyboard" instance=ExtResource("2")]

[node name="OQ_UI2DCanvas_TextInput" parent="." instance=ExtResource("1")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.2, 0)
update_only_on_input = false

[node name="TextEdit" type="TextEdit" parent="OQ_UI2DCanvas_TextInput"]
offset_right = 512.0
offset_bottom = 48.0
theme = ExtResource("4")

[connection signal="cancel_pressed" from="OQ_UI2DCanvas_Keyboard/VirtualKeyboard" to="." method="_on_cancel"]
[connection signal="enter_pressed" from="OQ_UI2DCanvas_Keyboard/VirtualKeyboard" to="." method="_on_enter"]
[connection signal="text_changed" from="OQ_UI2DCanvas_TextInput/TextEdit" to="." method="_on_TextEdit_text_changed"]
