TGamolfJoystickWinDirectInputService Class

Unit: Gamolf.RTL.Joystick.DirectInput.Win
Gamolf.RTL.Joystick.TGamolfCustomJoystickService
  Gamolf.RTL.Joystick.DirectInput.Win.TGamolfJoystickWinDirectInputService
type TGamolfJoystickWinDirectInputService = class(TGamolfCustomJoystickService)

The TGamolfJoystickWinDirectInputService type exposes the following members.

Show:
 NameDescription
Count

Return the number of joysticks managed by the system (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.Count .)

StartDiscovery

Scan for available devices (if some are already used, their ID could change) (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.StartDiscovery .)

getInfo

Return a TJoystickInfo for the JoystickID controller (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.getInfo .)

hasDPad

Check if the game controller has a DPad/POV button (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.hasDPad .)

isConnected

Return "true" if the JoystickID controller is connected and available (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.isConnected .)

Top
Show:
 NameDescription
FNbControllers

Top