poll_joystick (3) Linux Manual Page
poll_joystick – Polls the joystick. Allegro game programming library. Synopsis #include <allegro.h> int poll_joystick(); Description The joystick handler is not interrupt driven, so you need to call this function every now and again to update the global position values. Example: do { /* Get joystick input */ poll_joystick(); /* Process input for the first joystick…
