Record ALLEGRO_MOUSE_STATE
Hierarchy Methods Properties
Unit
allegro5
Declaration
type ALLEGRO_MOUSE_STATE = record
Description
Stores mouse state. Fields are read-only.
See also
- al_get_mouse_state
- Saves the state of the mouse specified at the time the function is called into
ret_state .
- al_get_mouse_state_axis
- Extracts the mouse axis value from the saved state.
- al_mouse_button_down
- Returns
True if the mouse button specified was held down in the state specified.
Overview
Fields
Description
Fields
z: AL_INT; |
Mouse weel position (2D ball).
|
w: AL_INT; |
Mouse weel position (2D ball).
|
buttons: AL_INT; |
Mouse buttons bitfield. The zeroth bit is set if the primary mouse button is held down, the first bit is set if the secondary mouse button is held down, and so on.
|
pressure: AL_FLOAT; |
Pressure, ranging from 0.0 to 1.0.
|
Generated by PasDoc 0.15.0. Generated on 2024-11-10 15:15:06.
|