Gamolf.RTL.Joystick Unit

Classes

EJoystickServiceException

Base class for all Joystick exceptions

EJoystickUnpluggedException

Raised if the controller is not available

TDGEGamepad

Gamepad component

TDGEGamepadList
TDGEGamepadManager

Gamepad manager component

TGamepadDevice

Gamepad class to access data from each gamepad detected on the system

TGamepadDeviceDict
TGamepadDevicesManager

Gamepad manager class, to use as a singleton.

TGamepadManagerList
TGamolfCustomJoystickService

Platform service to access to joystick/gamepad controllers on a computer

Records

TJoystickInfo

Joystick/gamepad controller datas

Interfaces

IGamolfJoystickService

Platform service to access to joystick/gamepad controllers on a computer

Enumerations

TJoystickAxes
TJoystickButtons

ID for game controllers buttons (when it's know by the API)

TJoystickDPad

DPad standard values (from 0 to 365° and 65535 when not value is selected)

Delegates

TJoystickErrorCallbackEvent

Signature for a callback method used to signal an error for the game controller JoystickID

TJoystickErrorCallbackProc

Signature for a callback procedure used to signal an error for the game controller JoystickID

TJoystickInfosCallbackEvent

Signature for a callback method used to get game controller infos

TJoystickInfosCallbackProc

Signature for a callback procedure used to get game controller infos

TJoystickInfosConnectedCallbackEvent

Signature for a callback method used to get connected game controller infos

TJoystickInfosConnectedCallbackProc

Signature for a callback procedure used to get connected game controller infos

TOnGamepadAxesChange
TOnGamepadButtonDown
TOnGamepadButtonUp
TOnGamepadDirectionPadChange
TOnGamepadLost
TOnNewGamepadDetected

Types

TButtonID

Type for Button ID

TJoystickAxesSet
TJoystickButtonsSet
TJoystickID

Type for Joystick ID

Routines