Class TGameControllers
Unit
Declaration
type TGameControllers = class(TObject)
Description
Manage game controllers (joysticks, gamepads). See examples/game_controllers for usage examples.
Hierarchy
- TObject
- TGameControllers
Overview
Methods
![]() |
constructor Create; |
![]() |
destructor Destroy; override; |
![]() |
procedure DoChange; |
![]() |
function Count: Integer; |
![]() |
procedure Initialize; |
![]() |
function InternalExplicitBackend: TInternalControllerManagerBackend; |
Properties
![]() |
property Items[const Index: Integer]: TGameController read GetItems; |
![]() |
property Initialized: Boolean read FInitialized; |
![]() |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
Description
Methods
![]() |
constructor Create; |
This item has no description. |
![]() |
destructor Destroy; override; |
This item has no description. |
![]() |
procedure DoChange; |
Calls OnChange. |
![]() |
function Count: Integer; |
Number of connected controllers. |
Properties
![]() |
property Items[const Index: Integer]: TGameController read GetItems; |
List of connected controllers. Use this to access individual controllers. |
![]() |
property Initialized: Boolean read FInitialized; |
Was Initialize called. |
![]() |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
Called after TGameController instances on the list changed (some have been added, some destroyed). This can be called at any moment, as controllers may be connected / disconnected at any moment. |
Generated by PasDoc 0.16.0-snapshot.