Joysticks via DirectInput?

Does anyone have working code to handle joysticks under DI? I see TODOs
going back for at least three years, and the WINMM code is causing
problems. (It’s limited to two devices, and I’m getting reports that it
doesn’t work at all with some drivers, but I don’t have the hardware in
question to test it myself.)

I’ll probably end up writing it myself, but I don’t really want to, so
if anyone has code for this, please speak up. :)–
Glenn Maynard

Sure thing. I’ve got working DI8 joystick code, but I’m away from home (and
the computer that contains it) until Thursday. I can post it for you then if
you’d like.

On a somewhat related note, is there anyone actually working on a
force-feedback framework for SDL? I’d love to help out with such an effort.
If not, I’m seriously considering just whipping one up and submitting it for
community approval.

Ryan>Message: 8

Date: Sun, 16 Feb 2003 20:43:57 -0500
From: Glenn Maynard <g_sdl at zewt.org>
To: sdl at libsdl.org
Subject: [SDL] Joysticks via DirectInput?
Reply-To: sdl at libsdl.org

Does anyone have working code to handle joysticks under DI? I see TODOs
going back for at least three years, and the WINMM code is causing
problems. (It’s limited to two devices, and I’m getting reports that it
doesn’t work at all with some drivers, but I don’t have the hardware in
question to test it myself.)

I’ll probably end up writing it myself, but I don’t really want to, so
if anyone has code for this, please speak up. :slight_smile:


Glenn Maynard


Protect your PC - get McAfee.com VirusScan Online
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

Hi Ryan

On a somewhat related note, is there anyone actually working on a
force-feedback framework for SDL? I’d love to help out with such an
effort. If not, I’m seriously considering just whipping one up and
submitting it for community approval.

I’ve been looking into force feedback stuff recently. I’ve not heard on
the list of anyone else doing anything re force feedback, is there anyone?

Cheers

JG

Well, specifically I meant an SDL handler for DirectInput joysticks; DI
code is readily available.On Mon, Feb 17, 2003 at 07:51:56PM +0000, Ryan Silk wrote:

Sure thing. I’ve got working DI8 joystick code, but I’m away from home (and
the computer that contains it) until Thursday. I can post it for you then
if you’d like.


Glenn Maynard