Re: Using Gamepads..?

John Joyce <[email protected]>
Newsgroups gmane.comp.macosx.devel
Message-ID <[email protected]>
>> n Mar 9, 2010, at 2:05 PM, Aya Koshigaya wrote:
>> mhh... I still don't realy get it :(
> 
> Bummer; any specific question?
> 
>> A few years ago when I was still developing for Windows, I used DirectInput.
>> There any gamepad device was handled as the same, I didn't had to write some special code for every different device.
> 
> Ten+ years ago we had Input Sprockets that was very similar but it hasn't been supported since Mac OS 9. :(
> 
>> And I didn't had to care about how the device is connected (Bluetooth, USB..).. I just got a list of devices and their buttons and axis-sticks..
>> Isn't there something like this for MacOS..?
> 
> Nope;
> 
> -- 
> Enjoy,
> George Warner, (408)974-0668
> Schizophrenic Optimization Scientist
> Apple Developer Technical Support (DTS)
> <[email protected]>
> 
> 
> 
> 
> 
> 
> 
> From: Ken Ferry <[email protected]>
> Date: March 9, 2010 10:57:08 PM CST
> To: MacOS List <[email protected]>
> Cc: "Mr. George Warner" <[email protected]>
> Subject: Re: Using Gamepads..?
> 
> 
> On Tue, Mar 9, 2010 at 2:05 PM, Aya Koshigaya <[email protected]> wrote:
> 
>> Hi,
>> 
>> mhh... I still don't realy get it :(
>> 
>> A few years ago when I was still developing for Windows, I used
>> DirectInput.
>> There any gamepad device was handled as the same, I didn't had to write
>> some special code for every different device.
>> 
>> And I didn't had to care about how the device is connected (Bluetooth,
>> USB..).. I just got a list of devices and their buttons and axis-sticks..
>> 
>> Isn't there something like this for MacOS..?
>> 
> 
> You might try DDHidLib.  I haven't used it, but it looks cool. :-)
> 
> http://www.dribin.org/dave/blog/archives/2007/03/19/ddhidlib_10/
> 
> -Ken
newer version at:
http://www.dribin.org/dave/software/#ddhidlib

Over the next year or two we can probably expect to see changes in the game space for the Mac.

The real question is "How precise do you need to be?"
With D-Pads and buttons, not so much, right?
Analog-Sticks and accelerometers ... a bit more ... :(
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.