Re: [AD] get_mouse_mickeys documentation

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Fri, 18 Mar 2005 21:28:51 +0100, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
> Looks fine. It may be worthwhile to stress that get_mouse_mickeys() may
> return unreliable results if a hardware (including system) cursor is in
> use.
How's the attached?

-- 
Regards, 
Ryan Patterson <mailto:cgamesplay@xxxxxxxxxx>
Index: docs/src/allegro._tx
===================================================================
RCS file: /cvsroot/alleg/allegro/docs/src/allegro._tx,v
retrieving revision 1.306
diff -u -p -r1.306 allegro._tx
--- docs/src/allegro._tx	17 Mar 2005 07:29:43 -0000	1.306
+++ docs/src/allegro._tx	19 Mar 2005 04:26:33 -0000
@@ -2727,9 +2727,15 @@ information for more details.
 @eref exmouse
 @shortdesc How far the mouse has moved since the last call to this function.
    Measures how far the mouse has moved since the last call to this 
-   function. The mouse will continue to generate movement mickeys even when 
-   it reaches the edge of the screen, so this form of input can be useful 
-   for games that require an infinite range of mouse movement.
+   function. The values of mickeyx and mickeyy will become negative if the 
+   mouse is moved left or up, respectively. The mouse will continue to 
+   generate movement mickeys even when it reaches the edge of the screen, so 
+   this form of input can be useful for games that require an infinite range 
+   of mouse movement.
+
+   Note that the infinite movement may not work in windowed mode, since under 
+   some platforms the mouse would leave the window, and may not work at all 
+   if the hardware cursor is in use.
 
 @@extern void (*@mouse_callback)(int flags);
 @xref install_mouse


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/