Class TJoystick

Unit

Declaration

type TJoystick = class(TObject)

Description

Properties of a given joystick, use by accessing Joysticks[Index]. Do not construct instances of this yourself, TJoysticks creates this automatically when necessary.

Hierarchy

  • TObject
  • TJoystick

Overview

Fields

Public InternalBackendInfo: TObject;
Public Info: TJoyInfo;
Public State: TJoyState;

Methods

Public function Axis: TVector2; deprecated 'use LeftAxis';
Public function LeftAxis: TVector2;
Public function RightAxis: TVector2;
Public destructor Destroy; override;

Description

Fields

Public InternalBackendInfo: TObject;

Implementation-specific information.

Public Info: TJoyInfo;

Information. TODO: Deprecate at some point, in favor of simpler joystick API like TJoystick.Axis.

Public State: TJoyState;

State. TODO: Deprecate at some point, in favor of simpler joystick API like TJoystick.Axis.

Methods

Public function Axis: TVector2; deprecated 'use LeftAxis';

Warning: this symbol is deprecated: use LeftAxis

Deprecated name, use LeftAxis.

Public function LeftAxis: TVector2;

Left analog stick position.

Public function RightAxis: TVector2;

Right analog stick position.

Public destructor Destroy; override;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.