Re: [AD] mouse_api branch

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


On Saturday 26 August 2006 2:28 am, Peter Hull 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?
> Should dx and dy be the true mouse move or just the difference between
> this event and the last reported event?
> Should button states be reported in a move event (and pointer position
> in a button up/down event)?

By default I think mouse events should be clipped to the window. Only if 
you "grab" the mouse should you get mouse events if its outside the window 
(think dragging a scroll bar, how often does your mouse go outside the 
window?)

> Pete
>
> On 8/26/06, Peter Wang <tjaden@xxxxxxxxxx> wrote:
> > On 2006-08-25, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
> > > Almost ready to go on this, it's working mostly (no mouse wheel as
> > > yet) but Sf.net is down.
> > >
> > > Regarding mouse wheel, I'd like one extra axis in the mouse structure
> > > as my mouse has a 2d mouse wheel. Can this be the 'w' axis? Has anyone
> > > got more axes than this?
> >
> > Sounds fine to me.
> >
> > 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
>
> -------------------------------------------------------------------------
> 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

-- 
Thomas Fjellstrom
tfjellstrom@xxxxxxxxxx




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