Class TInputShortcutBindingControllerButton
Unit
Declaration
type TInputShortcutBindingControllerButton = class(TInputShortcutBinding)
Description
Trigger TInputShortcut by a game controller button. For example, trigger action when user clicks "A" or "right bumper".
Hierarchy
- TObject
- TPersistent
- TComponent
- TInputShortcutBinding
- TInputShortcutBindingControllerButton
Overview
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function IsPressed(const Container: TCastleContainer; out HowMuch: Single): Boolean; override; |
![]() |
function IsEvent(const Event: TInputPressRelease): Boolean; override; |
![]() |
function ToString: String; override; |
Properties
![]() |
property Button: TGameControllerButton read FButton write FButton
default gbNorth; |
![]() |
property ControllerIndex: Integer read FControllerIndex write FControllerIndex
default -1; |
Description
Methods
![]() |
constructor Create(AOwner: TComponent); override; |
This item has no description. |
![]() |
function IsPressed(const Container: TCastleContainer; out HowMuch: Single): Boolean; override; |
This item has no description. Showing description inherited from TInputShortcutBinding.IsPressed.
Is the input currently pressed. If returns |
![]() |
function IsEvent(const Event: TInputPressRelease): Boolean; override; |
This item has no description. Showing description inherited from TInputShortcutBinding.IsEvent. Does receiving TCastleUserInterface press with this Event means that this input has been just pressed. |
![]() |
function ToString: String; override; |
This item has no description. Showing description inherited from TInputShortcutBinding.ToString. Description of the binding. |
Properties
![]() |
property Button: TGameControllerButton read FButton write FButton
default gbNorth; |
Which game controller button is taken into account. |
Generated by PasDoc 0.16.0-snapshot.