Skip to content

fplGamepadSettings Struct Reference

Finalspace edited this page May 29, 2026 · 1 revision

Stores the settings for controlling how gamepads are handled. More...

#include <final_platform_layer.h>

Data Fields

Type Name
uint32_t detectionFrequency
Frequency in ms for detecting new or removed gamepads (Default: 1000).
fpl_gamepad_mapping_resolver_callback * mappingResolver
Optional resolver invoked once per raw-HID controller connect to install a custom mapping (Default: fpl_null).
void * mappingResolverUserData
Opaque user pointer forwarded to mappingResolver (Default: fpl_null).
uint32_t updateFrequency
Frequency in ms for updating states of connected gamepads (Default: 0, 0 = As fast as possible).

Detailed Description

Stores the settings for controlling how gamepads are handled.

Definition at line 6689 of file final_platform_layer.h.

Field Documentation

detectionFrequency

uint32_t fplGamepadSettings::detectionFrequency

Frequency in ms for detecting new or removed gamepads (Default: 1000).

Definition at line 6691 of file final_platform_layer.h.

mappingResolver

fpl_gamepad_mapping_resolver_callback* fplGamepadSettings::mappingResolver

Optional resolver invoked once per raw-HID controller connect to install a custom mapping (Default: fpl_null).

Definition at line 6695 of file final_platform_layer.h.

mappingResolverUserData

void* fplGamepadSettings::mappingResolverUserData

Opaque user pointer forwarded to mappingResolver (Default: fpl_null).

Definition at line 6697 of file final_platform_layer.h.

updateFrequency

uint32_t fplGamepadSettings::updateFrequency

Frequency in ms for updating states of connected gamepads (Default: 0, 0 = As fast as possible).

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