TGamepadDevice Class
Definition
Gamepad class to access data from each gamepad detected on the system
Delphi
type TGamepadDevice = class(TInterfacedObject)
- Inheritance
-
TInterfacedObjectTGamepadDevice
Constructors
Properties
| Axes[TJoystickAxes] | |
| Buttons[TJoystickButtons] | |
| DPad | |
| Enabled | |
| ID | |
| IsSupported | |
| OnGamepadAxesChange | |
| OnGamepadButtonDown | |
| OnGamepadButtonUp | |
| OnGamepadDirectionPadChange | |
| OnGamepadLost | |
| SynchronizedEvents |
Execute events in main thread or in the thread used by the gamepad manager |
| Tag |
Tag property "in case of" not used in this class |
| TagBool |
TagBool property "in case of" not used in this class |
| TagFloat |
TagFloat property "in case of" not used in this class |
| TagObject |
TagObject property "in case of" not used in this class |
| TagString |
TagString property "in case of" not used in this class |
| hasDPad | |
| isConnected |
Methods
Fields
| FEnabled | |
| FGamepads |
List of gamepad components for this ID |
| FID | |
| FIsConnected | |
| FJoystickInfo | |
| FOnAxesChange | |
| FOnButtonDown | |
| FOnButtonUp | |
| FOnDirectionPadChange | |
| FOnLost | |
| FSynchronizedEvents | |
| FTag | |
| FTagBool | |
| FTagFloat | |
| FTagObject | |
| FTagString | |
| FhasDPAD |