[AD] [DOS] Sidewinder driver replacement

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


First a bit of history: ;-)
The Sidewinder joystick driver in Allegro 3.12 had been written by Marius
Fodor. Between 3.12 and 3.9.33, Shawn rewrote it ("major changes after
powerjaw sent me a pad to test it with") but this new version didn't work in
a DOS box under Windows. So Tomohiko Sugiura contribued a completely new
driver for 3.9.34 (dubbed Sidewinder Aggressive) that works both in pure DOS
and under Windows.

Now the problem: this latest driver brings about huge delays (2.5 seconds !)
in the joystick autodetection process when no Sidewinder is plugged.
Moreover, the code is a little messy and bloated, compared with the clean
driver by Shawn.

Therefore I'm going to get rid of the latest driver and revert to Shawn's
driver, with an additional tweak (patch against 3.9.33 attached) in order to
make it work in a DOS box under Windows too.

[I own a Sidewinder pad, so the patch has been fully tested].

--
Eric Botcazou
ebotcazou@xxxxxxxxxx

Attachment: sw.diff
Description: Binary data



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