🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.hardware
Article #1886

Re: Two *DIGITAL* joysticks on *ONE* game port?!?

#1886
From: Craig Cocca
Date: Thu, 03 Sep 1998 00:00
50 lines
3315 bytes
>I want to connect this set to my PC via the standard (Sound Blaster)
>game port. I want to have the possibility to play two player games
>using this "joy controller", so that each player has one joystick and
>three buttons.

You can connect two joysticks or gamepads to your SB joystick input using a
Y-connector commonly available at most computer and video game stores.
However, if you want to be able to use digital position inputs and more than
two microswitch inputs per player, you are going to have to write special
drivers for your project.

The pinout for the gameport is as follows:

  1  +5v for X1 and Y1
  2  Switch 1
  3  X1 input
  4  Switch 1 (GND)
  5  Switch 2 (GND)
  6  Y1
  7  Switch 2
  8  N.C. (MIDI on SoundBlaster)
  9  +5v for X2 and Y2
 10  Switch 4
 11  X2
 12  Switch 3&4 (GND)
 13  Y2
 14  Switch 3
 15  N.C. (MIDI on Soundblaster)

Since your X and Y inputs are based on the amount of voltage getting to the
X and Y input pins (controlled by a variable resistor called a
potentiometer), hooking a digital button up to these inputs would cause your
players to swing wildly back and forth, rather than smoothly.  Digital
gamepads overcome this through software by slowly "ramping up" the amount of
"delta" (the speed at which your player is moving on the screen) gradually.

As for the microswitch inputs, the standard limit per system is four inputs.
However, you could cleverly rig up your game controller  to send some kind
of binary input through the joystick, which is captured by your joystick
driver and converted into standard joystick input.  This again would require
special driver software, plus hardware to send the serial input data to the
gameport (since you have two players and four inputs, you could rig your
system to use two pins for serial input (one per player) and one pin for
flow control per player.

This could be a fun project.  Hope it inspired some people!

Craig D. Cocca - Internet Support Representative
Aberdeen LLC          craigc@aberdeeninc.com
(800) 300-5545         www.aberdeeninc.com
Technical Details
Message-ID: <6sn2cg$qa5$1@nnrp3.snfc21.pbi.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35eef520.106992@news.xs4all.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fd7ec,ddc60af48be53b72
X-Google-Attributes: gidfd7ec,public
X-Google-Thread: f8e37,ddc60af48be53b72
X-Google-Attributes: gidf8e37,public
X-Google-Thread: fa57c,ddc60af48be53b72
X-Google-Attributes: gidfa57c,public
X-Google-Thread: 106c00,ddc60af48be53b72
X-Google-Attributes: gid106c00,public
X-Google-Thread: 112149,ddc60af48be53b72
X-Google-Attributes: gid112149,public
X-Google-Thread: 114521,ddc60af48be53b72
X-Google-Attributes: gid114521,public
X-Google-Thread: 10a2ed,ddc60af48be53b72
X-Google-Attributes: gid10a2ed,public
X-Google-Thread: f5f89,ddc60af48be53b72
X-Google-Attributes: gidf5f89,public
From: "Craig Cocca" <craigc@aberdeeninc.com>
Subject: Re: Two *DIGITAL* joysticks on *ONE* game port?!?
Date: 1998/09/03
Message-ID: <6sn2cg$qa5$1@nnrp3.snfc21.pbi.net>
X-Deja-AN: 387623034
References: <35eef520.106992@news.xs4all.nl>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Organization: Aberdeen LLC (www.aberdeeninc.com)
Newsgroups: alt.comp.hardware,alt.comp.hardware.pc-homebuilt,alt.comp.hardware.homedesigned,biz.comp.hardware,comp.hardware,comp.ibm.pc.soundcard,comp.sys.ibm.hardware,alt.games.mame