home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / alt / msdos / programm / 3108 < prev    next >
Encoding:
Text File  |  1993-01-07  |  1.4 KB  |  37 lines

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!bfarrer
  3. From: bfarrer@silver.ucs.indiana.edu (Brennecke N. Farrer)
  4. Subject: Re: how to swap keys?
  5. Message-ID: <C0Gs7s.2nK@usenet.ucs.indiana.edu>
  6. Sender: news@usenet.ucs.indiana.edu (USENET News System)
  7. Nntp-Posting-Host: silver.ucs.indiana.edu
  8. Organization: Indiana University
  9. References: <92363.002140SXK129@psuvm.psu.edu>
  10. Date: Thu, 7 Jan 1993 03:26:15 GMT
  11. Lines: 24
  12.  
  13. In article <92363.002140SXK129@psuvm.psu.edu> Spaceman Spiff <SXK129@psuvm.psu.edu> writes:
  14. >i've got a game in which the movement of the cursor is controlled by the
  15. >a,w,s and z keys. i find this incredibly annoying and uncomfortable. is there
  16. >any way for me to be able to swap the a, w, s and z keys with the left, up,
  17. >right and down cursor keys respectively?
  18. >all help will be greatly appreciated.
  19.  
  20. You could write a keyboard ISR that remaps the a,w,s, and z keys
  21. the arrow keys.  You'd have to hook int 16h and check for those
  22. keystrokes in the keyboard buffer.  Alternately you could write a TSR
  23. that handles the game port and stuffs the keyboard with a,w,s and z.
  24. Then you could use a joystick.
  25.  
  26. - Brennecke N. Farrer
  27.  
  28.  
  29.  
  30.  
  31.  
  32. -- 
  33. Brennecke N. Farrer        Internet addresses: bfarrer@silver.ucs.indiana.edu
  34. (317)-497-1692                    bfarrer@venus.ucs.indiana.edu
  35. Programmer, M.A.I.L.CODE Lafayette IN 47901     (317)-448-4222
  36. I don't speak for my employer, only for me.
  37.