Joystick support for Mac OS X

Bert Freudenberg bert at impara.de
Wed Nov 24 09:52:19 UTC 2004


Actually this seems to just implement the "legacy joystick support"  
primitives. Thanks, Dominique!

- Bert -

Am 23.11.2004 um 23:38 schrieb John M McIntosh:

> Well i don't have a joystick here to test with, but could you do this  
> as a proper plugin? I can certainly help you
> do that... It seems to be quite standalone, or am I missing something  
> in the source code?
> Mmm did you look at the legacy joystick support?
>
> On Nov 23, 2004, at 2:04 PM, Dominique Dutoit wrote:
>
>> http://www.hitoro.net/squeak/2004/11/joystick-support-for-mac-os- 
>> x.html
>>
>> Here is my first attempt to bring back support for joysticks in Mac  
>> OS X. It supports HID-compatible joysticks and gamepads and it turned  
>> to be quite easy to implement, thanks to the Apple's HID Utilities  
>> library. It was tested with a Gravis Eliminator gamepad but,  
>> unfortunately, mine is broken (the Y-axis stick doesn't work  
>> anymore).
>>
>> Because the plugin has to be embedded in the Virtual Machine, I have  
>> to compile it with the HID Utilities static library (300KB). To test  
>> it, plug your gaming device into an USB port, launch the Virtual  
>> Machine and select a Squeak image. Open a workspace and execute this  
>> line:
>>
>> Sensor testJoystick: 1
>>
>> The Etoys joystick can also be used (see the track real joystick menu  
>> option).
>>
>> Enjoy!




More information about the Squeak-dev mailing list