record AL_JOYSTICK_BUTTON_INFO

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type AL_JOYSTICK_BUTTON_INFO = record

Description

information about a joystick button.

You may wish to display the button names as part of an input configuration screen to let the user choose what game function will be performed by each button, but in simpler situations you can safely assume that the first two elements in the button array will always be the main trigger controls.

See also
al_joy
Global array of joystick state information, which is updated by the al_poll_joystick function.
AL_JOYSTICK_INFO
information about an entire joystick.

Overview

Fields

b: AL_BOOL;
name: AL_STRptr;

Description

Fields

b: AL_BOOL;

False not pressed, True pressed.

name: AL_STRptr;

description of this button.


Generated by PasDoc 0.13.0 on 2016-07-20 12:01:36