Re: Re[4]: [AD] Proposal for first step towards new api

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


Henrik Stokseth <hstokset@xxxxxxxxxx> wrote:

> axes). example:
>
> int al_get_button(AL_INPUT_DEVICE *device, AL_CONTROLLER *control);
> or
> AL_INPUT *al_get_button(AL_INPUT_DEVICE *device, AL_CONTROLLER *control);

forget the last declaration... al_poll_input() gets a complete AL_INPUT data
chunk while the helper functions gets the specified input data. in this case
al_get_button() should perhaps use the most significant byte as a bitmask to
differ between keyboard buttons and mouse, joystick buttons.

Sincerely Henrik Stokseth.
-----------------------------------------------------------------------
E-mail: hstokset@xxxxxxxxxx  Homepage: http://hstokset.n3.net





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