Fix keyboard input not working on Windows client
Added explicit window focus grab after connecting (lan-bootstrapper.gd) so keyboard input is properly received by the input system. Also added diagnostic debug prints to trace input pipeline.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
uid://4mlr8ca8nlg7
|
||||
@@ -0,0 +1 @@
|
||||
uid://h5lroui7prfv
|
||||
@@ -1,20 +0,0 @@
|
||||
#!/usr/bin/env -S godot --headless --script
|
||||
extends SceneTree
|
||||
|
||||
func _init():
|
||||
var paths = [
|
||||
"res://assets/kenney/models/blaster.glb",
|
||||
"res://examples/multiplayer-fps/models/knife.fbx",
|
||||
"res://examples/multiplayer-fps/models/grenade.glb",
|
||||
]
|
||||
for p in paths:
|
||||
var scene = load(p)
|
||||
if scene:
|
||||
var inst = scene.instantiate()
|
||||
print(p, " -> type: ", inst.get_class(), " children: ", inst.get_child_count())
|
||||
for c in inst.get_children():
|
||||
print(" child: ", c.get_class(), " ", c.name)
|
||||
inst.queue_free()
|
||||
else:
|
||||
print(p, " -> FAILED TO LOAD")
|
||||
quit()
|
||||
Reference in New Issue
Block a user