Skip to content

fplGamepadInputBinding Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

Describes the raw input source bound to one logical FPL gamepad button or axis slot. More...

#include <final_platform_layer.h>

Data Fields

Type Name
bool axisInverted
True when an axis source is read with its sign inverted (SDL ~ suffix).
fplGamepadAxisSign axisSign
Half-axis selector for axis sources.
uint32_t hatMask
Hat bitmask (1=up, 2=right, 4=down, 8=left). Only used when type is fplGamepadInputType_Hat.
uint32_t index
Index of the button, axis or hat in the raw device input.
fplGamepadInputType type
Source kind. fplGamepadInputType_None means the slot is unbound.

Detailed Description

Describes the raw input source bound to one logical FPL gamepad button or axis slot.

Definition at line 9394 of file final_platform_layer.h.

Field Documentation

axisInverted

bool fplGamepadInputBinding::axisInverted

True when an axis source is read with its sign inverted (SDL ~ suffix).

Definition at line 9404 of file final_platform_layer.h.

axisSign

fplGamepadAxisSign fplGamepadInputBinding::axisSign

Half-axis selector for axis sources.

Definition at line 9402 of file final_platform_layer.h.

hatMask

uint32_t fplGamepadInputBinding::hatMask

Hat bitmask (1=up, 2=right, 4=down, 8=left). Only used when type is fplGamepadInputType_Hat.

Definition at line 9400 of file final_platform_layer.h.

index

uint32_t fplGamepadInputBinding::index

Index of the button, axis or hat in the raw device input.

Definition at line 9398 of file final_platform_layer.h.

type

fplGamepadInputType fplGamepadInputBinding::type

Source kind. fplGamepadInputType_None means the slot is unbound.

Definition at line 9396 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