🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Joystick Routines Needed

#6308
From: Ummm... me!
Date: Tue, 17 Nov 1992 02:11
21 lines
1195 bytes
(A lot of people mailed me their thank-you's for posting the SoundBlaster
programming summary, so hopefully some kind soul will return my favour. :-)

   Can anyone point me to ASM/C source code fragments, routines, functions
or (hopefully) libraries which will give me basic control of primitive
joystick functions via the standard game port?
   I'd like to implement joystick support in a game I'm currently writing in
Borland C, and all I really need to do is detect/initialize the joystick,
and read the (x,y) position and button states.  Anything extra would simply
be icing on the cake. :-)

   Any help will be greatly appreciated.  Please e-mail me (or post it if
you like), and I'll post a summary if enough information gets sent to me.


Thanks,

     - Mark Rosteck -
(ematias@csri.toronto.edu)
(g1marker@cdf.toronto.edu)
Technical Details
Message-ID: <1992Nov16.211134.29296@jarvis.csri.toronto.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!csri.toronto.edu!ematias

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!utcsri!csri.toronto.edu!ematias
Newsgroups: comp.os.msdos.programmer,rec.games.programmer
From: ematias@csri.toronto.edu (Ummm... me!)
Subject: Joystick Routines Needed
Message-ID: <1992Nov16.211134.29296@jarvis.csri.toronto.edu>
Organization: CSRI, University of Toronto
Date: 17 Nov 92 02:11:34 GMT
Lines: 22