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

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


> We leave device specific functions.
> Let's make device specific functions a bit simmilar like:
> al_get_keyboard(device,key)
> al_get_mouse_button(device,key)
> al_get_mouse_axis(device,axis)
> al_get_joy_button(device,key)
> al_get_joy_axis(device,axis)
> It would be easier for programmer who has never used joystick
> functions (like me) to learn them. All API looks nicer anyway.

or even merge button and axis in
int al_get_mouse(device, part) where part could be left button, x axis...
int al_get_joystick(device, part)



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