Article View: alt.msdos.programmer
Article #1086Re: how to swap keys?
From: Joi L. Ellis
Date: Thu, 07 Jan 1993 17:38
Date: Thu, 07 Jan 1993 17:38
39 lines
2216 bytes
2216 bytes
bfarrer@silver.ucs.indiana.edu (Brennecke N. Farrer) writes: >In article <92363.002140SXK129@psuvm.psu.edu> Spaceman Spiff <SXK129@psuvm.psu.edu> writes: >>i've got a game in which the movement of the cursor is controlled by the >>a,w,s and z keys. i find this incredibly annoying and uncomfortable. is there >>any way for me to be able to swap the a, w, s and z keys with the left, up, >>right and down cursor keys respectively? >>all help will be greatly appreciated. >You could write a keyboard ISR that remaps the a,w,s, and z keys >the arrow keys. You'd have to hook int 16h and check for those >keystrokes in the keyboard buffer. Alternately you could write a TSR >that handles the game port and stuffs the keyboard with a,w,s and z. >Then you could use a joystick. >- Brennecke N. Farrer You can also experiment with vanilla ANSI.SYS and see if it will perform that function for you. We successfully removed undesirable commands from a bulletin board console by mapping all the control and function keys to null. (The console was publicly accessible and we didn't want passers-by messing with it.) You may or may not be able to map the cursor keys this way. We created a text file containing all the mapping commands, and have the workstation TYPE it before loading the BBS software. We have another that deletes the mappings when the BBS is shut down. >-- >Brennecke N. Farrer Internet addresses: bfarrer@silver.ucs.indiana.edu >(317)-497-1692 bfarrer@venus.ucs.indiana.edu >Programmer, M.A.I.L.CODE Lafayette IN 47901 (317)-448-4222 >I don't speak for my employer, only for me. -- Joi Ellis msjle@uxa.ecn.bgu.edu Student Residential Programs Western Illinois University
Technical Details
Message-ID:
<C0Hvoq.IJD@uxa.ecn.bgu.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!news.ecn.bgu.edu!uxa.ecn.bgu.edu!msjleReferences:
<92363.002140SXK129@psuvm.psu.edu> <C0Gs7s.2nK@usenet.ucs.indiana.edu>Show Full Headers
Complete Article Headers
Newsgroups: alt.msdos.programmer Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!psuvax1!news.ecn.bgu.edu!uxa.ecn.bgu.edu!msjle From: msjle@uxa.ecn.bgu.edu (Joi L. Ellis) Subject: Re: how to swap keys? Message-ID: <C0Hvoq.IJD@uxa.ecn.bgu.edu> Organization: Educational Computing Network References: <92363.002140SXK129@psuvm.psu.edu> <C0Gs7s.2nK@usenet.ucs.indiana.edu> Date: Thu, 7 Jan 1993 17:38:50 GMT Lines: 40