poll_mouse man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

poll_mouse(3)			Allegro manual			 poll_mouse(3)

NAME
       poll_mouse - Polls the mouse. Allegro game programming library.

SYNOPSIS
       #include <allegro.h>

       int poll_mouse();

DESCRIPTION
       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
       doesn't 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.

RETURN VALUE
       Returns zero on success, or a negative number on failure (ie. no	 mouse
       driver installed).

SEE ALSO
       mouse_needs_poll(3),    install_mouse(3),    mouse_x(3),	  exlights(3),
       exmouse(3), exshade(3), exspline(3), extrans(3)

Allegro				 version 4.4.2			 poll_mouse(3)
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net