Class TDGEGamepad
Unit
Declaration
type TDGEGamepad = class(TComponent)
Description
Gamepad component
Attributes
ComponentPlatformsAttribute(pfidWindows or pfidOSX or pfidLinux or pfidAndroid or pfidiOS)
Hierarchy
- TObject
- TPersistent
- TComponent
- TDGEGamepad
Overview
Methods
| Protected | function getGamepadData: TGamepadDevice; |
| Protected | procedure DoAxeChanged(const AAxeID: integer); |
| Protected | procedure DoButtonChanged(const AButtonID: integer); |
| Protected | procedure DoDirectionPadChanged; |
| Protected | procedure DoLost; |
| Public | constructor Create(AOwner: TComponent); override; |
Properties
| Public | property IsSupported: boolean read GetIsSupported; |
| Public | property isConnected: boolean read GetIsConnected; |
| Public | property hasDPad: boolean read FhasDPAD; |
| Public | property Buttons[const ButtonID: TJoystickButtons]: boolean read GetButtons; |
| Public | property Axes[const AxeID: TJoystickAxes]: single read GetAxes; |
| Public | property DPad: TJoystickDPad read getDPad; |
| Public | property TagObject: TObject read FTagObject write SetTagObject default nil; |
| Published | property ID: integer read FID write SetID default -1; |
| Published | property Enabled: boolean read FEnabled write SetEnabled default true; |
| Published | property SynchronizedEvents: boolean read FSynchronizedEvents
write SetSynchronizedEvents default false; |
| Published | property OnButtonUp: TOnGamepadButtonUp read FOnButtonUp
write SetOnButtonUp; |
| Published | property OnButtonDown: TOnGamepadButtonDown read FOnButtonDown
write SetOnButtonDown; |
| Published | property OnAxesChange: TOnGamepadAxesChange read FOnAxesChange
write SetOnAxesChange; |
| Published | property OnDirectionPadChange: TOnGamepadDirectionPadChange
read FOnDirectionPadChange write SetOnDirectionPadChange; |
| Published | property OnLost: TOnGamepadLost read FOnLost write SetOnLost; |
| Published | property Tag; |
| Published | property TagBool: boolean read FTagBool write SetTagBool default false; |
| Published | property TagFloat: single read FTagFloat write SetTagFloat; |
| Published | property TagString: string read FTagString write SetTagString; |
Description
Methods
| Protected | function getGamepadData: TGamepadDevice; |
|
This item has no description. | |
| Protected | procedure DoAxeChanged(const AAxeID: integer); |
|
This item has no description. | |
| Protected | procedure DoButtonChanged(const AButtonID: integer); |
|
This item has no description. | |
| Protected | procedure DoDirectionPadChanged; |
|
This item has no description. | |
| Protected | procedure DoLost; |
|
This item has no description. | |
| Public | constructor Create(AOwner: TComponent); override; |
|
This item has no description. | |
Properties
| Public | property IsSupported: boolean read GetIsSupported; |
|
This item has no description. | |
| Public | property isConnected: boolean read GetIsConnected; |
|
This item has no description. | |
| Public | property hasDPad: boolean read FhasDPAD; |
|
This item has no description. | |
| Public | property Buttons[const ButtonID: TJoystickButtons]: boolean read GetButtons; |
|
This item has no description. | |
| Public | property Axes[const AxeID: TJoystickAxes]: single read GetAxes; |
|
This item has no description. | |
| Public | property DPad: TJoystickDPad read getDPad; |
|
This item has no description. | |
| Public | property TagObject: TObject read FTagObject write SetTagObject default nil; |
|
TagObject property "in case of" not used in this class | |
| Published | property ID: integer read FID write SetID default -1; |
|
This item has no description. | |
| Published | property Enabled: boolean read FEnabled write SetEnabled default true; |
|
This item has no description. | |
| Published | property SynchronizedEvents: boolean read FSynchronizedEvents
write SetSynchronizedEvents default false; |
|
Execute events in main thread or in the thread used by the gamepad manager | |
| Published | property OnButtonUp: TOnGamepadButtonUp read FOnButtonUp
write SetOnButtonUp; |
|
This item has no description. | |
| Published | property OnButtonDown: TOnGamepadButtonDown read FOnButtonDown
write SetOnButtonDown; |
|
This item has no description. | |
| Published | property OnAxesChange: TOnGamepadAxesChange read FOnAxesChange
write SetOnAxesChange; |
|
This item has no description. | |
| Published | property OnDirectionPadChange: TOnGamepadDirectionPadChange
read FOnDirectionPadChange write SetOnDirectionPadChange; |
|
This item has no description. | |
| Published | property OnLost: TOnGamepadLost read FOnLost write SetOnLost; |
|
This item has no description. | |
| Published | property Tag; |
|
Tag property "in case of" not used in this class | |
| Published | property TagBool: boolean read FTagBool write SetTagBool default false; |
|
TagBool property "in case of" not used in this class | |
| Published | property TagFloat: single read FTagFloat write SetTagFloat; |
|
TagFloat property "in case of" not used in this class | |
| Published | property TagString: string read FTagString write SetTagString; |
|
TagString property "in case of" not used in this class | |
Generated by PasDoc 1.0.2.