Re: Fw: Re: [AD] messy allegro 5.0 stuff

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


In reply to Sven Sandberg <svsa1977@xxxxxxxxxx>:
>Oh, and I just noticed that keypressed() is not included in Laurence's
>proposal. Does this mean that al_read_key() does not wait for a keypress
>and instead returns 0 if nothing was pressed (i.e., a non-blocking API
>like for al_read_scancode())? It may be good to state explicitly in the
>proposal.

Yes, you are right, the API is now totally non-blocking. I have
mentioned it at the top of the ever-so-slightly updated proposal.

Other changes to it included sorting out definition of AL_KEY_RELEASED
(now 0x10000, since we only define a 16-bit scancode space), and
updating it slightly because I also came up with a config API proposal
(or copied Shawn's, to be more precise :-) ).

Bye for now,
-- 
Laurence Withers, lwithers@xxxxxxxxxx
                http://www.lwithers.demon.co.uk/

Attachment: signature.asc
Description: PGP signature



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