Joystick support for Mac OS X

John M McIntosh johnmci at smalltalkconsulting.com
Tue Nov 23 22:38:25 UTC 2004


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!
>
>
>
>
--
======================================================================== 
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
======================================================================== 
===




More information about the Squeak-dev mailing list