From: mert0407 AT sable DOT ox DOT ac DOT uk (George Foot) Newsgroups: comp.os.msdos.djgpp Subject: Re: Two joysticks with Allegro Date: Thu, 03 Apr 1997 20:30:29 GMT Organization: Oxford University Lines: 34 Message-ID: <33439047.1088403@news.easynet.co.uk> References: <333db554 DOT 6062182 AT nntp DOT netcomuk DOT co DOT uk> <5htg6c$ak2$1 AT news0 DOT xs4all DOT nl> NNTP-Posting-Host: foot.easynet.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 2 Apr 1997 11:33:32 GMT, ellman AT xs4all DOT nl () wrote: >In article <333db554 DOT 6062182 AT nntp DOT netcomuk DOT co DOT uk>, >William McGugan wrote: >>Allegro seems to do everything I would want, except for reading two >>joysticks. Can I use two joysticks with Allegro, or will I have to >>write my own routines? > >Why stop at two joysticks? > >According to the Windoze 95 joystick configuration applet, up to 16 joysticks ... >Just out of interest, what sort of cards enable you to use more than one >Joystick? My SB16 only has one joystickport. Yes; the standard joystick port supports two joysticks at once, and also MIDI input and output. Creative supplied a MIDI/joystick splitting cable with my AWE32; there also exist joystick splitters allowing you to plug two ordinary joysticks in. Note that fancy joysticks tend to use the second joystick's connections to provide extra fire buttons, throttle levers, etc, so you can't use all these features if you're using two joysticks at once. The splitters are, IMHO, extortionately expensive - £20 here in the UK, I think. AFAIK they consist of a joystick plug and two sockets, with the pins for joystick 1 wired directly from the plug to one of the sockets, and the pins for joystick 2 wired from the plug to the joystick 1 pins on the second socket. The second joystick is read in much the same way as the first (unfortunately ;) ). Extending Allegro's joystick routines should be fairly trivial. -- George Foot