Annoyances.org
Home » Windows 2000 Discussion Forum » Message 1047273664 Search | Help | Home
  
Tip: Run a free scan for common Windows errors ad

re: Answers to Scancode Mapping or Changing Key Values
Sunday, March 9, 2003 at 9:21 pm
Windows 2000 Annoyances Discussion Forum
Posted by RodmanAtlanta (1 messages posted)


I tried Intes key changer using WinXP and it screwed my KB so i uninstalled it and 
followed this procedure: http://www.annoyances.org/exec/forum/win2000/n1019911460 
and Vexus is on the mark. It works flawlessly as he said - I wanted to change the 
right Win key RWin to Caps Lock and also for the fun of it changed a couple of others 
too. RCtrl to LCtrl and RAlt to LAlt. My lines look like this in scancode map:

00 00 00 00 00 00 00 00
03 00 00 00 3A 00 5C E0
38 00 38 E0 1D 00 1D E0
00 00 00 00

My thanks to the poster - this was simple with his explanation. 





On Saturday, April 27, 2002 at 5:44 am, Vexus wrote:
>Hey all,
>I find remapping keys to be quite easy once you do it.  You need three things.
>
>1) Regedit (Everyone has this)
>
>2)http://www.microsoft.com/hwdev/tech/input/w2kscan-map.asp 
>
>3) http://www.microsoft.com/hwdev/tech/input/Scancode.asp#New   (Download the first 
>link: Keyboard Scancode Specification)
>
>From there it's just a matter of matching up values.  Follow what #2 says and create 
>a binary key called Scancode Map in that registry directory.  Then you'll need to 
>edit/modify the Scancode Map key and first add 16 zeros (0).
>
>From there, you'll need to figure out how many mappings you're going to make.  I 
>use two, switching LWinKey and RAlt for gaming purposes, and Changing RWinKey into 
>a Mute button.  So I then have a zero, a 3 (this number is how many mappings I'll 
>make), and then six more zeros.  The values are reversed, it looks like 03,000,000, 
>but it's really 3.  Complain to MS.
>
>It should now look like this:
>00 00 00 00  00 00 00 00
>03 00 00 00
>
>Of course, if you're making multiple changes, add to the 3.  Now here's where you 
>need to look up the exact codes that you want to swap or remove.  First look them 
>up by downloading and opening #3.  Scroll down until you see the huge list of codes. 
> FIND THE KEY YOU WANT YOUR ORIGINAL KEY TO TURN INTO FIRST.  This means if you 
wanted 
>to remove CAPS LOCK, you'd need to first find the null key which is 4 zeros (00 
00). 
> You then add the character you wish the key to output when you press it first, 
exactly 
>opposite as their chart shows in #2.
>
>So it should now look like this:
>00 00 00 00  00 00 00 00
>03 00 00 00  00 00
>
>Then, if you wanted to remove CAPS LOCK, look up the key.  The value right next 
to 
>the text Caps Lock (or any key you wish) is what you need to pay attention to.  
It's 
>3A for Caps Lock.  However, when you want to enter this into the Scancode Map key, 
>you need to change it around some.  First, there are two zeros missing.  It should 
>be 3A 00.  And even that is incorrect when you finally enter it in.  You need to 
>swap each byte around so it looks like 00 3A to enter it in.  This goes for each 
>code you enter.  What looks like the last value is actually the first when you type 
>it into the Scancode Key.
>
>It should now look like this:
>00 00 00 00  00 00 00 00
>03 00 00 00  00 00 00 3A
>
>There.  Caps Lock is removed.  *If you wanted to turn Caps Lock into LCtrl it would 
>look like this: 1D E0 00 3A.  This is so even though LCtrl's value is E0 1D.*  Again, 
>complain to MS.
>
>Now, you set 3 as the amount of keys you'd like to change, so let's make that happen 
>where LCtrl is now Caps Lock and then make Insert disappear.  This is simple, as 
>you already know how to make Caps Lock into LCtrl as above **.  All you need to 
do 
>is switch the values.  It would be 00 3A 1D E0.  Then, to remove Insert, you find 
>Insert (E0 70) and add the null value and then reversed Insert value (00 00 70 E0).
>
>This all comes together:
>00 00 00 00  00 00 00 00
>03 00 00 00  00 00 00 3A
>00 3A 1D E0  00 00 70 E0
>
>Finally!  This yields three effects.  Pressing Caps Lock no longer does -anything-. 
> Pressing LCtrl turns Caps Lock on and off.  And Insert too has no effect.  To finish 
>it up, add four more bytes of zeros (00 00 00 00) and exit and reboot.
>
>Final:
>00 00 00 00  00 00 00 00
>03 00 00 00  00 00 00 3A
>00 3A 1D E0  00 00 70 E0
>00 00 00 00
>
>This is just some of the changes.  You can go alter every key there is.  Make Space 
>your Enter, and so on.  I hope this helps you guys.  Very easy to do again after 
>you do it once.
>
>This is my simple personal Scancode Map:
>00 00 00 00  00 00 00 00
>02 00 00 00  38 E0 5B E0
>20 E0 5C E0  00 00 00 00
>
>And that turns LWinKey into RAlt and RWinkey into Mute.
>
>Enjoy!
>-Vexus
>
>
>
>



Written in response to:
Answers to Scancode Mapping or Changing Key Values (Vexus: Saturday, April 27, 2002 at 5:44 am)

There are presently no replies to this message.

All messages in this thread [show all]
-Answers to Scancode Mapping or Changing Key Values (Vexus: Sat, Apr 27, 2002, 5:44 am)
*does this work in win98se? (Nick Wagers: Thu, Aug 29, 2002, 7:41 pm)
*re: Answers to Scancode Mapping or Changing Key Values (nick: Wed, Nov 20, 2002, 6:54 am)
-re: Answers to Scancode Mapping or Changing Key Values (RwK: Thu, Dec 12, 2002, 10:51 am)
-re: Answers to Scancode Mapping or Changing Key Values (Henry: Wed, Feb 26, 2003, 11:31 am)
*re: Answers to Scancode Mapping or Changing Key Values (RandyRants.com: Thu, Jan 29, 2004, 3:57 pm)
*re: Answers to Scancode Mapping or Changing Key Values (RodmanAtlanta: Sun, Mar 9, 2003, 9:21 pm)
-re: Answers to Scancode Mapping or Changing Key Values (meomy: Fri, Aug 1, 2003, 1:14 pm)
*re: Answers to Scancode Mapping or Changing Key Values (meomy: Fri, Aug 1, 2003, 1:42 pm)
*re: Answers to Scancode Mapping or Changing Key Values (Me: Fri, Oct 3, 2003, 7:16 am)
-re: Answers to Scancode Mapping or Changing Key Values (J: Sat, Nov 26, 2005, 1:27 pm)
*re: Answers to Scancode Mapping or Changing Key Values (zol: Mon, Aug 14, 2006, 1:36 am)
Return to the Windows 2000 Discussion Forum


All content at Annoyances.org is Copyright ©1995-2012 Creative Elementtm All rights reserved.
Please do not plagiarize; redistributing these pages without permission is strictly prohibited.