Re: [AD] mouse_api branch

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


> I'm not sure all platforms will be able to [easily]
> support generating events when the pointer is out of the window, so
the
> common denominator would be to only generate events while in the
window.


For any game where mouse movements are used, not having events generated
when the mouse is outside the window will make it very annoying for
users.

Can user apps at least pick the mode?


> -----Original Message-----
> From: alleg-developers-bounces@xxxxxxxxxx [mailto:alleg-
> developers-bounces@xxxxxxxxxx] On Behalf Of Peter Wang
> Sent: Saturday, August 26, 2006 4:00 AM
> To: alleg-developers@xxxxxxxxxx
> Subject: Re: [AD] mouse_api branch
> 
> On 2006-08-26, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
> > A couple more questions:
> > When the pointer passes outside the window, should it continue to
> > generate events, generate move events clipped to the window, not
> > generate any events or generate one last event at the window's
border?
> 
> Good questions.  I'm not sure all platforms will be able to [easily]
> support generating events when the pointer is out of the window, so
the
> common denominator would be to only generate events while in the
window.
> 
> We should have mouse enter / mouse exit events.  Then many of the
> questions should go away :-)
> 
> > Should dx and dy be the true mouse move or just the difference
between
> > this event and the last reported event?
> 
> I suppose you're talking about when the mouse leaves the window, then
> enters from another spot?  I think this questions also goes away with
> mouse enter/exit events.
> 
> > Should button states be reported in a move event (and pointer
position
> > in a button up/down event)?
> 
> Yes to both.
> 
> Peter
> 
> 
>
------------------------------------------------------------------------
-
> Using Tomcat but need to do more? Need to support web services,
security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
>
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> --
> https://lists.sourceforge.net/lists/listinfo/alleg-developers
-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------




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