Re: [AD] about driver lists

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


Matthew Leverton wrote:

I would think that it makes most sense to have a global "init_joytick_driver" function that selects the joystick driver and does whatever needs to be done to get the joystick(s) ready for use. Then, call a function like "get_joystick(number)" to retrive a handle for it.


Thanks, that seems like the right way to go.  I'll try it out and see.

Peter





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