home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: alt.msdos.programmer
- Path: sparky!uunet!cs.utexas.edu!sdd.hp.com!ux1.cso.uiuc.edu!usenet.ucs.indiana.edu!silver.ucs.indiana.edu!bfarrer
- From: bfarrer@silver.ucs.indiana.edu (Brennecke N. Farrer)
- Subject: Re: how to swap keys?
- Message-ID: <C0Gs7s.2nK@usenet.ucs.indiana.edu>
- Sender: news@usenet.ucs.indiana.edu (USENET News System)
- Nntp-Posting-Host: silver.ucs.indiana.edu
- Organization: Indiana University
- References: <92363.002140SXK129@psuvm.psu.edu>
- Date: Thu, 7 Jan 1993 03:26:15 GMT
- Lines: 24
-
- 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
-
-
-
-
-
- --
- 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.
-