Class TGamolfJoystickWinDirectInputService
Unit
Gamolf.RTL.Joystick.DirectInput.Win
Declaration
type TGamolfJoystickWinDirectInputService = class(TGamolfCustomJoystickService)
Description
No description available, ancestor TGamolfCustomJoystickService description follows
Platform service to access to joystick/gamepad controllers on a computer
Hierarchy
- TInterfacedObject
- TGamolfCustomJoystickService
- TGamolfJoystickWinDirectInputService
Overview
Fields
![]() |
FNbControllers: byte; |
Methods
![]() |
procedure StartDiscovery; override; |
![]() |
function Count: byte; override; |
![]() |
function isConnected(JoystickID: TJoystickID): boolean; override; |
![]() |
procedure getInfo(JoystickID: TJoystickID; var Joystick: TJoystickInfo); override; |
![]() |
function hasDPad(JoystickID: TJoystickID): boolean; override; |
Description
Fields
![]() |
FNbControllers: byte; |
Methods
![]() |
procedure StartDiscovery; override; |
|
Scan for available devices (if some are already used, their ID could change) | |
![]() |
function Count: byte; override; |
|
Return the number of joysticks managed by the system | |
![]() |
function isConnected(JoystickID: TJoystickID): boolean; override; |
|
Return "true" if the JoystickID controller is connected and available | |
![]() |
procedure getInfo(JoystickID: TJoystickID; var Joystick: TJoystickInfo); override; |
|
Return a TJoystickInfo for the JoystickID controller | |
![]() |
function hasDPad(JoystickID: TJoystickID): boolean; override; |
|
Check if the game controller has a DPad/POV button | |
Generated by PasDoc 0.16.0.

