Re: [AD] mouse callback

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


On Fri, 2004-05-14 at 19:54, aj wrote:
> >winXP
> >alg 4.1.14
> 
> 
> when i use the mouse_callback   and use poll_mouse() i am getting unusual 
> behaviour, where mouse button state seems to get missed.
> is there anything about using a mouse_callback and the poll_mouse()  that i 
> may have missed in the docs.
> anyone offer even some suggestions, anything, i have been stuck on this for 
> several hours;
> when using the mouse_callback do i need to 
> call  poll_mouse()  before/after/during ?
> 

What does mouse_needs_poll() return? I think you shouldn't call
poll_mouse() unless it returns TRUE. But I don't know much about it. Is
there actually any mouse driver not supporting Allegro's asynchronous
reads?

-- 
Elias Pschernig <elias@xxxxxxxxxx>





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