TGamolf Joystick Win Direct Input Service Class
Gamolf.RTL.Joystick.TGamolfCustomJoystickService
Gamolf.RTL.Joystick.DirectInput.Win.TGamolfJoystickWinDirectInputService
The TGamolfJoystickWinDirectInputService type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create | (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | Destroy | (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
Name | Description | |
---|---|---|
![]() | Count | Return the number of joysticks managed by the system (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.Count .) |
![]() | ForEach | Overloaded. Loop on all game controllers and call the method with infos for each one (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | ForEachConnectedDevice | Overloaded. Loop on all game controllers and call the method with infos for each connected device (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | StartDiscovery | Scan for available devices (if some are already used, their ID could change) (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.StartDiscovery .) |
![]() | getDPad | Return the DPad value between (0-359° or 65535) Compare it to Top, TopRight/RightTop, Right, BottomRight/RightBottom, Bottom, BottomLeft/LeftBottom, Left, LeftTop/TopLeft, Center values from TJoystickDPad enumeration (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getDPadFromXY | Get orientation (like DPad) from (x,y) axis (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getInfo | Return a TJoystickInfo for the JoystickID controller (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.getInfo .) |
![]() | getX | Return X axes values for JoystickID controller (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getXY | Return X,Y axes values for JoystickID controller (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getXYFromDPad | Get the values for (x,y) axis from a DPad/POV orientation (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getY | Return Y axes values for JoystickID controller (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | getZ | Return Z axes values for JoystickID controller (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | hasDPad | Check if the game controller has a DPad/POV button (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.hasDPad .) |
![]() | hasJoystickButtonsAPI | Override this function and return true for platforms where buttons place are known. By default, it's false; (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | initJoystick | Reset Joystick structure (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | isConnected | Return "true" if the JoystickID controller is connected and available (Overrides Gamolf.RTL.Joystick.TGamolfCustomJoystickService.isConnected .) |
![]() | isDPad | Overloaded. (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |
![]() | isPressed | Check if button "ButtonID" from controller "JoystickID" is pressed or not (Inherited from Gamolf.RTL.Joystick.TGamolfCustomJoystickService .) |