This Godot 4.x project is the end-state of the GameInput action-bridge tutorial, the standalone track of the tutorial series. It does not depend on XBOX sign-in or PlayFab — bring a wired or wireless XBOX controller and you're ready to run.
-
Build the addon. From the repo root:
cmake --preset default cmake --build build --preset debug
-
Plug in a GameInput-supported gamepad. XBOX controllers over USB or Bluetooth are the common case; any GameInput- compatible device works.
-
Open the project in Godot and run
main.tscn. TheGameInputBootstrapautoload (installed by the addon's editor plugin) initializesGameInputon_readyand pumpspoll()every process frame — your action map starts firing as soon as the mapper picks up the device.
The sample includes a committed export_presets.cfg with a Windows Desktop
preset, so a clean clone can open Project → Export and edit or run the
export without first authoring a preset.
Install the export templates that match your Godot editor version under
%APPDATA%\Godot\export_templates\ before exporting.
- Tutorial — GameInput action bridge
- GameInput plugin reference
- GDK-only sample:
sample/tutorial_gdk/ - PlayFab-only sample:
sample/tutorial_playfab/ - Integrated GDK + PlayFab sample:
sample/tutorial_integrated/ - Full game reference (external):
sample/tutorial_netrumble/