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

  1. Newsgroups: alt.msdos.programmer
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!news.ecn.bgu.edu!uxa.ecn.bgu.edu!msjle
  3. From: msjle@uxa.ecn.bgu.edu (Joi L. Ellis)
  4. Subject: Re: how to swap keys?
  5. Message-ID: <C0Hvoq.IJD@uxa.ecn.bgu.edu>
  6. Organization: Educational Computing Network
  7. References: <92363.002140SXK129@psuvm.psu.edu> <C0Gs7s.2nK@usenet.ucs.indiana.edu>
  8. Date: Thu, 7 Jan 1993 17:38:50 GMT
  9. Lines: 40
  10.  
  11. bfarrer@silver.ucs.indiana.edu (Brennecke N. Farrer) writes:
  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. You can also experiment with vanilla ANSI.SYS and see if it will perform
  29. that function for you.  We successfully removed undesirable commands
  30. from a bulletin board console by mapping all the control and function
  31. keys to null.  (The console was publicly accessible and we didn't want
  32. passers-by messing with it.)  You may or may not be able to map the
  33. cursor keys this way.  We created a text file containing all the mapping
  34. commands, and have the workstation TYPE it before loading the BBS
  35. software.  We have another that deletes the mappings when the BBS is
  36. shut down.
  37.  
  38.  
  39.  
  40.  
  41.  
  42. >-- 
  43. >Brennecke N. Farrer        Internet addresses: bfarrer@silver.ucs.indiana.edu
  44. >(317)-497-1692                    bfarrer@venus.ucs.indiana.edu
  45. >Programmer, M.A.I.L.CODE Lafayette IN 47901     (317)-448-4222
  46. >I don't speak for my employer, only for me.
  47. -- 
  48. Joi Ellis                      msjle@uxa.ecn.bgu.edu
  49. Student Residential Programs   Western Illinois University
  50.  
  51.