godot-xterm/examples/terminal/Node.gd
2020-10-05 17:56:57 +07:00

7 lines
135 B
GDScript

extends Node
func _on_Terminal_key_pressed(event: InputEventKey, data: PoolByteArray):
print(data as Array)
print(event.scancode)