Record TGameControllerPressRelease
Unit
Declaration
type TGameControllerPressRelease = record
Description
Used when input indicates press / release of a game controller button. This is used in TInputPressRelease.EventType = itGameController.
Source: ui/castlekeysmouse.pas (line 765).
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 the Controllers array. | |
Generated by PasDoc 0.17.0.snapshot.