types Namespace
Input type definitions. More...
Definition
Enumerations Index
| enum class | GamepadInput { ... } |
|
Bitmask enum for gamepad input buttons. More... | |
| enum | Gamepad { ... } |
|
Enumerates gamepad identifiers in bitmask-friendly values. More... | |
| enum | Key { ... } |
|
Enumerates common keyboard keys. More... | |
Description
Input type definitions.
This namespace contains type definitions for input handling, including key codes, gamepad ids and input device states used throughout the input system. Provides platform-independent type definitions for representing input events and states.
Enumerations
Gamepad
|
Enumerates gamepad identifiers in bitmask-friendly values.
- Enumeration values
-
ONE (= 1) TWO (= 2) THREE (= 4) FOUR (= 8) size_ Number of logical gamepad entries represented by this enum (= 4)
This enumeration provides identifiers for gamepads, commonly identified by the logical port they are mapped to. Values are chosen for convenient bitmask composition (ONE | TWO, ...).
Implementing APIs should map their platform-specific gamepad indices to these identifiers.
Definition at line 110 of file Gamepad.ixx.
GamepadInput
| strong |
Bitmask enum for gamepad input buttons.
- Enumeration values
Each value represents a single button as a bit flag, allowing efficient combination and querying of multiple inputs.
Definition at line 17 of file Gamepad.ixx.
Key
|
Enumerates common keyboard keys.
This enumeration provides identifiers for various keyboard keys. It's intended to be a platform-agnostic representation of physical keys.
Implementing APIs are advised to properly map their implementation against this enumeration.
The documentation for this namespace was generated from the following files:
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.