record AL_JOYSTICK_STICK_INFO

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type AL_JOYSTICK_STICK_INFO = record

Description

information about one or more axis (a slider or directional control)

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

flags: AL_INT;
num_axis: AL_INT;
axis: ARRAY [0..(AL_MAX_JOYSTICK_AXIS)-1] OF AL_JOYSTICK_AXIS_INFO;
name: AL_STRptr;

Description

Fields

flags: AL_INT;

status flags for this input.

num_axis: AL_INT;

how many axes do we have? (note the misspelling).

axis: ARRAY [0..(AL_MAX_JOYSTICK_AXIS)-1] OF AL_JOYSTICK_AXIS_INFO;

axis state information.

See also
AL_JOYSTICK_AXIS_INFO
This provides both analogue input in the pos field (ranging from -128 to 128 or from 0 to 255, depending on the type of the control), and digital values in the d1 and d2 fields.
name: AL_STRptr;

description of this input.


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