home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / msdos / programm / 10676 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.2 KB

  1. Xref: sparky comp.os.msdos.programmer:10676 rec.games.programmer:4710
  2. Path: sparky!uunet!utcsri!csri.toronto.edu!ematias
  3. Newsgroups: comp.os.msdos.programmer,rec.games.programmer
  4. From: ematias@csri.toronto.edu (Ummm... me!)
  5. Subject: Joystick Routines Needed
  6. Message-ID: <1992Nov16.211134.29296@jarvis.csri.toronto.edu>
  7. Organization: CSRI, University of Toronto
  8. Date: 17 Nov 92 02:11:34 GMT
  9. Lines: 22
  10.  
  11.  
  12. (A lot of people mailed me their thank-you's for posting the SoundBlaster
  13. programming summary, so hopefully some kind soul will return my favour. :-)
  14.  
  15.    Can anyone point me to ASM/C source code fragments, routines, functions
  16. or (hopefully) libraries which will give me basic control of primitive
  17. joystick functions via the standard game port?
  18.    I'd like to implement joystick support in a game I'm currently writing in
  19. Borland C, and all I really need to do is detect/initialize the joystick,
  20. and read the (x,y) position and button states.  Anything extra would simply
  21. be icing on the cake. :-)
  22.  
  23.    Any help will be greatly appreciated.  Please e-mail me (or post it if
  24. you like), and I'll post a summary if enough information gets sent to me.
  25.  
  26.  
  27. Thanks,
  28.  
  29.      - Mark Rosteck -
  30. (ematias@csri.toronto.edu)
  31. (g1marker@cdf.toronto.edu)
  32.  
  33.