TDGEGamepadManager Class
Definition
Gamepad manager component
Delphi
type TDGEGamepadManager = class(TComponent)
- Inheritance
-
TComponentTDGEGamepadManager
Constructors
Properties
| Enabled | |
| IsSupported | |
| OnAxesChange | |
| OnButtonDown | |
| OnButtonUp | |
| OnDirectionPadChange | |
| OnGamepadLost | |
| OnNewGamepadDetected | |
| 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 |
Methods
| ConnectedGamepadCount |
Return the connected gamepads number |
| DoGamepadAxesChange(Integer, TJoystickAxes, Single) | |
| DoGamepadButtonDown(Integer, TJoystickButtons) | |
| DoGamepadButtonUp(Integer, TJoystickButtons) | |
| DoGamepadDirectionPadChange(Integer, TJoystickDPad) | |
| DoLostGamepad(Integer) | |
| DoNewGamepadDetected(Integer) | |
| GamepadCount |
Count the detected gamepads number (detected or declared in the OS depending on the platform) |
| GetGamepad(Integer) |
Return the gamepad data class |