Manual Reference Pages - POLL_MOUSE (3)
poll_mouse - Polls the mouse. Allegro game programming library.
Wherever possible, Allegro will read the mouse input asynchronously (ie.
from inside an interrupt handler), but on some platforms that may not be
possible, in which case you must call this routine at regular intervals
to update the mouse state variables. To help you test your mouse polling
code even if you are programming on a platform that doesnt require it,
after the first time that you call this function Allegro will switch into
polling mode, so from that point onwards you will have to call this
routine in order to get any mouse input at all, regardless of whether the
current driver actually needs to be polled or not.
Returns zero on success, or a negative number on failure (ie. no mouse
|Allegro ||POLL_MOUSE (3) ||version 4.4.2 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.