Re: [AD] mouse callback

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


> Q. Does mouse_callback get called from a timer in an 'interupt'
> context,  that is to say from another thread other than the main thread my
> app is running in ?

Yes, that's explicitly stated in the docs.

> i ask this because i need to time the mouse button clicks in order to
> measure when a double click has occurred.

Then I'll suggest to take a look at the beginning of src/gui.c.

-- 
Eric Botcazou




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