Record ALLEGRO_JOYSTICK_EVENT
Hierarchy Methods Properties
Unit
allegro5
Declaration
type ALLEGRO_JOYSTICK_EVENT = record
Description
Contains the joystick events information.
See also
- ALLEGRO_EVENT
- An
ALLEGRO_EVENT is an union of all builtin event structures, i.e.
Overview
Fields
Description
Fields
timestamp: AL_DOUBLE; |
When the event was generated.
|
id: ALLEGRO_JOYSTICKptr; |
The joystick which generated the event. This is not the same as the event source.
|
stick: AL_INT; |
The stick number, counting from zero. Axes on a joystick are grouped into "sticks".
|
axis: AL_INT; |
The axis number on the stick, counting from zero.
|
pos: AL_FLOAT; |
The axis position, from -1.0 to +1.0.
|
button: AL_INT; |
The button which was pressed, counting from zero.
|
Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.
|