|
|
|
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
>
>
>
>
|
All messages in this thread [show all]
 |  | re: Answers to Scancode Mapping or Changing Key Values (RodmanAtlanta: Sun, Mar 9, 2003, 9:21 pm) |
| |
| |
Return to the Windows 2000 Discussion Forum
|
|
|
|