Re: [AD] Windows/Mac joystick hotplugging patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Thu, 2010-08-19 at 11:20 -0600, Trent Gamblin wrote:
> On 2010-08-19, at 10:26 AM, Michał Cichoń wrote:
> > I think it is better to keep ALLEGRO_JOYSTICK* as an ID. This will be
> > consistent with the rest of the Allegro. Introducing raw intptr_t makes
> > people wonder 'why it is so special?'.
>
> Yeah, I think I agree with that. Will change it back, it's a simple change.
I agree as well. If we want ids then it should be a 0-based normal int -
but it would mean a mapping from id to ALLEGRO_JOYSTICK has to be kept
somewhere.
--
Elias Pschernig <elias.pschernig@xxxxxxxxxx>