input

Recent snippets tagged «input»

Capturing a Physical Input Event
Casual Garage Coder
This helper script capture an input event and translate it as a resource describing the said event. Godot 4.x GDScript input
Mapping Physical Event to Logical Event
Casual Garage Coder
Helper code to map a set of input events to logical events, with alternate mapping Godot 4.x GDScript input
Gamepad control layer
Casual Garage Coder
Capture the gamepad events, filter them and notify when it matters Godot 4.x GDScript input
ALT-Enter fullscreen toggle
zegenie
Make your game fullscreen toggleable by reacting to ALT+Enter Godot 4.x GDScript shortcuts input fullscreen