Record TGameControllerPressRelease

Hierarchy
Methods
Properties

Unit

Declaration

type TGameControllerPressRelease = record

Description

Used when input indicates press / release of a game controller button. This is used in TInputPressRelease.EventType = itGameController.

Overview

Fields

Public Button: TGameControllerButton;
Public Meaning: TGameControllerButtonMeaning;
Public Caption: String;
Public ControllerIndex: Integer;

Description

Fields

Public Button: TGameControllerButton;

Button that was pressed or released.

Public Meaning: TGameControllerButtonMeaning;

Meaning commonly assigned to this button, like gmConfirm or gmCancel. This is gmNone if the button does not have any meaning expressed as TGameControllerButtonMeaning.

Public Caption: String;

Caption of the button, like 'A', 'B', 'X', 'Y', 'Left Trigger', 'Right Trigger'. Never empty for buttons that can be generated by given game controller. For buttons that have different names depending on the game controller, like "face buttons" (A, B, X, Y, square triangle circle cross), this caption depends on the game controller type.

Public ControllerIndex: Integer;

Controller on which this button was pressed or released. This is an index to GameControllers array.


Generated by PasDoc 0.16.0-snapshot.