Re: [AD] Joystick support on OS X

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


Evert,
I'll have a look at the joystick code (since I have a stick I can test
with) and you can stick with the mouse cursor stuff, is that OK?

Pete


On Sun, Sep 14, 2008 at 4:29 PM, Peter Hull <peterhull90@xxxxxxxxxx> wrote:
> Yes, it got broken when the new driver model came into force and I
> haven't had time to work on it. The system vtable has a null entry for
> get_joystick_driver so none of that code in hidjoy and hidman ever
> gets called.
>
> Pete
>
>
> On Sun, Sep 14, 2008 at 4:26 PM, Evert Glebbeek <eglebbk@xxxxxxxxxx> wrote:
>> I noticed the following while compiling:
>>
>> /Users/eglebbk/Program/Allegro5/4.9/src/macosx/hidjoy.m: In function
>> 'count_joysticks':
>> /Users/eglebbk/Program/Allegro5/4.9/src/macosx/hidjoy.m:312: warning:
>> control reaches end of non-void function
>>
>> most of that file seems to be commented out. Presumably this means
>> things are not working at the moment? I don't think I packed my
>> gamepad when I moved so I can't easily test things for that, but if
>> there's something I can do on that front, someone (Pete Hull?) should
>> let me know.
>> In the mean time, is it ok if I make count_joysticks() return 0
>> rather than just dropping through and presumably reporting something
>> random? That would seem to be the most consistent thing to return at
>> the moment.
>>
>> Evert
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> --
>> https://lists.sourceforge.net/lists/listinfo/alleg-developers
>>
>




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