Skip to content

fplGamepadMapping Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

A complete mapping of raw device inputs onto FPL's logical gamepad layout. More...

#include <final_platform_layer.h>

Data Fields

Type Name
fplGamepadInputBinding axes [fplGamepadAxisType_Count]
Bindings for the analog axis slots, indexed by fplGamepadAxisType.
fplGamepadInputBinding buttons [FPL_GAMEPAD_BUTTON_COUNT]
Bindings for the digital button slots, indexed by fplGamepadButtonType.
fplGamepadGuid guid
Raw 16-byte device GUID, indexed identically across backends to allow lookup.
fplGamepadPlatform platform
Platform the mapping was authored for.

Detailed Description

A complete mapping of raw device inputs onto FPL's logical gamepad layout.

Definition at line 9454 of file final_platform_layer.h.

Field Documentation

axes

fplGamepadInputBinding fplGamepadMapping::axes[fplGamepadAxisType_Count]

Bindings for the analog axis slots, indexed by fplGamepadAxisType.

Definition at line 9460 of file final_platform_layer.h.

buttons

fplGamepadInputBinding fplGamepadMapping::buttons[FPL_GAMEPAD_BUTTON_COUNT]

Bindings for the digital button slots, indexed by fplGamepadButtonType.

Definition at line 9458 of file final_platform_layer.h.

guid

fplGamepadGuid fplGamepadMapping::guid

Raw 16-byte device GUID, indexed identically across backends to allow lookup.

Definition at line 9456 of file final_platform_layer.h.

platform

fplGamepadPlatform fplGamepadMapping::platform

Platform the mapping was authored for.

Definition at line 9462 of file final_platform_layer.h.


The documentation for this struct was generated from the following file:

Final Platform Layer

Pages

Topics

Data Structures

Clone this wiki locally