-
Notifications
You must be signed in to change notification settings - Fork 13
fplGamepadData Struct Reference
Backend-agnostic snapshot of raw device input that a fplGamepadMapping operates on. More...
#include <final_platform_layer.h>
| Type | Name |
|---|---|
| float |
axes [FPL_GAMEPAD_DATA_MAX_AXES] Raw analog axes in SDL convention (-1 .. +1, triggers idle at -1). |
| uint32_t |
axisCount Number of valid entries in axes. |
| uint32_t |
buttonCount Number of valid entries in buttons. |
| bool |
buttons [FPL_GAMEPAD_DATA_MAX_BUTTONS] Raw digital buttons (true when pressed). |
| uint32_t |
hatCount Number of valid entries in hats. |
| uint8_t |
hats [FPL_GAMEPAD_DATA_MAX_HATS] Raw hat masks (bit 1=up, 2=right, 4=down, 8=left). |
Backend-agnostic snapshot of raw device input that a fplGamepadMapping operates on.
Definition at line 9476 of file final_platform_layer.h.
float fplGamepadData::axes[FPL_GAMEPAD_DATA_MAX_AXES]Raw analog axes in SDL convention (-1 .. +1, triggers idle at -1).
Definition at line 9478 of file final_platform_layer.h.
uint32_t fplGamepadData::axisCountNumber of valid entries in axes.
Definition at line 9486 of file final_platform_layer.h.
uint32_t fplGamepadData::buttonCountNumber of valid entries in buttons.
Definition at line 9484 of file final_platform_layer.h.
bool fplGamepadData::buttons[FPL_GAMEPAD_DATA_MAX_BUTTONS]Raw digital buttons (true when pressed).
Definition at line 9480 of file final_platform_layer.h.
uint32_t fplGamepadData::hatCountNumber of valid entries in hats.
Definition at line 9488 of file final_platform_layer.h.
uint8_t fplGamepadData::hats[FPL_GAMEPAD_DATA_MAX_HATS]Raw hat masks (bit 1=up, 2=right, 4=down, 8=left).
Definition at line 9482 of file final_platform_layer.h.
The documentation for this struct was generated from the following file:
- Assertion & Debug
- Atomic operations
- Audio functions
- Clipboard functions
- Console functions
- Constants
- Display/Monitor functions
- Dynamic library loading
- Error Handling
- Files/IO functions
- Function macros
- Hardware Infos
- Input types and functions
- Localization functions
- Logging
- Memory Macros
- Memory functions
- Operating system Infos
- Path functions
- Platform functions
- Session Infos
- Settings & Configurations
- Storage class identifiers
- String functions
- Threading and synchronizations routines
- Timing functions
- Video functions
- Window events
- Window functions
- fplARMCPUCapabilities
- fplAudioChannelMap
- fplAudioDeviceID
- fplAudioDeviceInfo
- fplAudioFormat
- fplAudioSettings
- fplColor32
- fplConditionVariable
- fplConsoleSettings
- fplCPUCapabilities
- fplCPUIDLeaf
- fplDateTime
- fplDateTimeCreationResult
- fplDateTimeResult
- fplDisplayInfo
- fplDisplayMode
- fplDynamicLibraryHandle
- fplEndianess
- fplEvent
- fplFileEntry
- fplFileHandle
- fplFilePermissions
- fplFileTimeStamps
- fplGamepadButton
- fplGamepadData
- fplGamepadEvent
- fplGamepadInfo
- fplGamepadInputBinding
- fplGamepadMapping
- fplGamepadSettings
- fplGamepadState
- fplGamepadStates
- fplGraphicsApiSettings
- fplImageSource
- fplInputBackendMask
- fplInputBackendSupport
- fplInputDevice
- fplInputDeviceGuid
- fplInputSettings
- fplInternalConditionVariable
- fplInternalDynamicLibraryHandle
- fplInternalFileEntryHandle
- fplInternalFileHandle
- fplInternalFileRootInfo
- fplInternalMutexHandle
- fplInternalSemaphoreHandle
- fplInternalSignalHandle
- fplInternalThreadHandle
- fplKeyboardEvent
- fplKeyboardState
- fplLogSettings
- fplLogWriter
- fplLogWriterConsole
- fplLogWriterCustom
- fplMemoryAllocationSettings
- fplMemoryBlock
- fplMemoryInfos
- fplMemorySettings
- fplMouseEvent
- fplMouseState
- fplMutexHandle
- fplOpenGLSettings
- fplOSVersionInfos
- fplSemaphoreHandle
- fplSettings
- fplSignalHandle
- fplSpecificAudioSettings
- fplThreadHandle
- fplThreadParameters
- fplTimestamp
- fplVersionInfo
- fplVideoBackBuffer
- fplVideoRect
- fplVideoRequirements
- fplVideoRequirementsVulkan
- fplVideoSettings
- fplVideoSurface
- fplVideoSurfaceOpenGL
- fplVideoSurfaceVulkan
- fplVideoWindow
- fplVulkanSettings
- fplWindowCallbacks
- fplWindowDropFiles
- fplWindowEvent
- fplWindowPosition
- fplWindowSettings
- fplWindowSize
- fplX86CPUCapabilities