al_get_joystick_state - Man Page

Allegro 5 API

Synopsis

#include <allegro5/allegro.h>

void al_get_joystick_state(ALLEGRO_JOYSTICK *joy, ALLEGRO_JOYSTICK_STATE *ret_state)

Description

Get the current joystick state.

See Also

ALLEGRO_JOYSTICK_STATE(3), al_get_joystick_num_buttons(3), al_get_joystick_num_axes(3)

Referenced By

ALLEGRO_JOYSTICK_STATE(3).

Allegro reference manual