Re: [AD] ex_joystick_hotplugging.c |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] ex_joystick_hotplugging.c
- From: Trent Gamblin <trent@xxxxxxxxxx>
- Date: Sat, 21 Aug 2010 18:50:12 -0600
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.