🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.programmer
Article #5119

Looking for Joystick code

#5119
From: Steve Resnick
Date: Mon, 11 Mar 1991 18:13
18 lines
1247 bytes
Hi Netlanders!

I'm looking for some C (preferably Turbo C) code to access the joystick port.
What I need is a way to read the current X/Y values and the button status.
This is going to be part of a PD game, so the code should be PD/royalty free
to avoid copyright infringements as well as an outlay of cash :)

Thanx, in advance,
Steve
-------------------------------------------------------------------------------
resnicks@netcom.com, steve@camphq, IFNA:	1:143/105.0, 
USNail: 530 Lawrence Expressway, Suite 374 
        Sunnyvale, Ca 94086
- In real life: Steve Resnick. Flames, grammar and spelling errors >/dev/null
0x2b |~ 0x2b, THAT is the question.
The Asylum OS/2 BBS - (408)263-8017 12/2400,8,1 - Running Maximus CBCS 1.2
-------------------------------------------------------------------------------
Technical Details
Message-ID: <27795@netcom.COM>
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!pacbell.com!tandem!netcom!netcom.COM

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!ucsd!pacbell.com!tandem!netcom!netcom.COM
From: resnicks@netcom.COM (Steve Resnick)
Newsgroups: comp.os.msdos.programmer
Subject: Looking for Joystick code
Message-ID: <27795@netcom.COM>
Date: 11 Mar 91 18:13:50 GMT
Sender: resnicks@netcom.COM
Organization: Netcom - Online Communication Services  UNIX System {408 241-9760 guest}
Lines: 18