Re: [AD] ex_joystick_hotplugging.c

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


On 2010-08-21, at 6:39 PM, Peter Wang wrote:
> Hi,
> 
> I still think it's a bad idea that al_get_num_joysticks can now
> invalidate existing ALLEGRO_JOYSTICK structures.

Yeah, I agree.

> curr_joy is invalid at this point.
> 
> It crashes when I unplug a joystick.  (I will fix it while fixing some
> issues with the linux joystick driver)

Alright. I wanted to get it into SVN because I have
other commitments that aren't going to leave me much
time to tune this how I'd like right now. I think the
issues are pretty minor and shouldn't be too hard to
fix.




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