-
Notifications
You must be signed in to change notification settings - Fork 13
fplInputDevice Struct Reference
Describes a single input device exposed by some backend. More...
#include <final_platform_layer.h>
| Type | Name |
|---|---|
| fplInputBackendType |
backend Backend that owns the device. |
| fplInputConnectionState |
connection Last known connection state. |
| fplInputDeviceFeatureFlags |
featureFlags Capability flags of the device. |
| fplInputDeviceGuid |
guid Stable globally unique identifier for the device. |
| uint32_t |
index Backend-local device index. |
| char |
name [FPL_MAX_INPUT_DEVICE_NAME] Display name of the device. |
| fplInputSourceType |
sourceType Source kind of the device (exactly one bit set). |
| union { | |
| fplGamepadState gamepad | |
| fplKeyboardState keyboard | |
| fplMouseState mouse | |
| } |
state Optional cached state, valid based on sourceType. |
Describes a single input device exposed by some backend.
Definition at line 9585 of file final_platform_layer.h.
fplInputBackendType fplInputDevice::backendBackend that owns the device.
Definition at line 9595 of file final_platform_layer.h.
fplInputConnectionState fplInputDevice::connectionLast known connection state.
Definition at line 9599 of file final_platform_layer.h.
fplInputDeviceFeatureFlags fplInputDevice::featureFlagsCapability flags of the device.
Definition at line 9597 of file final_platform_layer.h.
fplGamepadState fplInputDevice::gamepadDefinition at line 9604 of file final_platform_layer.h.
fplInputDeviceGuid fplInputDevice::guidStable globally unique identifier for the device.
Definition at line 9587 of file final_platform_layer.h.
uint32_t fplInputDevice::indexBackend-local device index.
Definition at line 9591 of file final_platform_layer.h.
fplKeyboardState fplInputDevice::keyboardDefinition at line 9602 of file final_platform_layer.h.
fplMouseState fplInputDevice::mouseDefinition at line 9603 of file final_platform_layer.h.
char fplInputDevice::name[FPL_MAX_INPUT_DEVICE_NAME]Display name of the device.
Definition at line 9589 of file final_platform_layer.h.
fplInputSourceType fplInputDevice::sourceTypeSource kind of the device (exactly one bit set).
Definition at line 9593 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