Re: [AD] get_mouse_mickeys documentation |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: Re: [AD] get_mouse_mickeys documentation
- From: Ryan Patterson <cgamesplay@xxxxxxxxxx>
- Date: Fri, 18 Mar 2005 23:30:07 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=UQiGknh5ZpvEsRIhmP2Up7AmY9XbbaBKI8CD+Y92orJekU5sCEpreKuecscBmRF0iOZyH3XV55fr1fyIC/SI3ogCnyROHFuNMELezIqkDbSnaydheLTotFv+WqJnM3NBovfl2BYhwnXvLXrM/5S2Ml11mXwNnyqp3x4bQCGna2E=
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