-
Notifications
You must be signed in to change notification settings - Fork 13
fplGamepadInfo Struct Reference
Read-only description of a controller passed to a fpl_gamepad_mapping_resolver_callback at connect time. More...
#include <final_platform_layer.h>
| Type | Name |
|---|---|
| uint32_t |
axisCount Number of raw axes exposed by the device. |
| fplInputBackendType |
backend Backend that produced this device. |
| uint32_t |
buttonCount Number of raw buttons exposed by the device. |
| fplGamepadGuid |
guid Raw 16-byte SDL-compatible GUID built by the backend. |
| uint32_t |
hatCount Number of raw hats exposed by the device. |
| uint32_t |
index Backend-local slot index for the controller. |
| const char * |
name Display name of the device (UTF-8). |
| uint16_t |
productId USB product id, or 0 when unknown. |
| uint16_t |
vendorId USB vendor id, or 0 when unknown. |
| uint16_t |
version Device version (bcdDevice), or 0 when unknown. |
Read-only description of a controller passed to a fpl_gamepad_mapping_resolver_callback at connect time.
Definition at line 9495 of file final_platform_layer.h.
uint32_t fplGamepadInfo::axisCountNumber of raw axes exposed by the device.
Definition at line 9513 of file final_platform_layer.h.
fplInputBackendType fplGamepadInfo::backendBackend that produced this device.
Definition at line 9503 of file final_platform_layer.h.
uint32_t fplGamepadInfo::buttonCountNumber of raw buttons exposed by the device.
Definition at line 9511 of file final_platform_layer.h.
fplGamepadGuid fplGamepadInfo::guidRaw 16-byte SDL-compatible GUID built by the backend.
Definition at line 9497 of file final_platform_layer.h.
uint32_t fplGamepadInfo::hatCountNumber of raw hats exposed by the device.
Definition at line 9515 of file final_platform_layer.h.
uint32_t fplGamepadInfo::indexBackend-local slot index for the controller.
Definition at line 9501 of file final_platform_layer.h.
const char* fplGamepadInfo::nameDisplay name of the device (UTF-8).
Definition at line 9499 of file final_platform_layer.h.
uint16_t fplGamepadInfo::productIdUSB product id, or 0 when unknown.
Definition at line 9507 of file final_platform_layer.h.
uint16_t fplGamepadInfo::vendorIdUSB vendor id, or 0 when unknown.
Definition at line 9505 of file final_platform_layer.h.
uint16_t fplGamepadInfo::versionDevice version (bcdDevice), or 0 when unknown.
Definition at line 9509 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