<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>mntnoe.com &#187; windows xp</title>
	<atom:link href="http://mntnoe.com/tag/windows-xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://mntnoe.com</link>
	<description></description>
	<lastBuildDate>Mon, 12 Sep 2011 07:19:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Scancode mapping in Windows XP</title>
		<link>http://mntnoe.com/2009/12/scancode-mapping-in-windows-xp/</link>
		<comments>http://mntnoe.com/2009/12/scancode-mapping-in-windows-xp/#comments</comments>
		<pubDate>Sat, 12 Dec 2009 15:35:06 +0000</pubDate>
		<dc:creator>Mads Navntoft Noe</dc:creator>
				<category><![CDATA[Key Bindings]]></category>
		<category><![CDATA[windows xp]]></category>

		<guid isPermaLink="false">http://www.mntnoe.com/?p=71</guid>
		<description><![CDATA[When using Windows XP at work, I have customized the keyboard layout to almost match my setup on Gentoo &#8212; important when you code lines and lines of Java&#8230; In addition to my modified Colemak keyboard layout created by the Microsoft Keyboard Layout Creater, I use scancodes to remap special keys, which is not possible [...]]]></description>
			<content:encoded><![CDATA[<p>When using Windows XP at work, I have customized the keyboard layout to almost match my setup on Gentoo &#8212; important when you code lines and lines of Java&#8230;</p>
<p>In addition to my modified Colemak keyboard layout created by the <a href="http://www.microsoft.com/globaldev/outreach/dnloads/msklc.mspx">Microsoft Keyboard Layout Creater</a>, I use scancodes to remap special keys, which is not possible in MKLC.</p>
<p>My current setup is this:</p>
<pre>Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlKeyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,08,00,00,00,01,00,3a,00,3a,00,01,00,19,00,46,00,0e,00,19,00,2a,00,56,00,38,00,38,e0,38,e0,2a,00,00,00,00,00</pre>
<p><em>Note: Be careful when pasting stuff like this into your registry &#8212; you have been warned <img src='http://mntnoe.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </em></p>
<p>The scancode mapping does the following:</p>
<ul>
<li>Swaps <em>Escape</em> and <em>Caps Lock.</em></li>
<li>Makes QWERTY <em>P</em> an extra <em>Backspace</em> key.<br />
Remember, Colemak has the semicolon on QWERTY P&#8217;s position. This makes it possible to delete</li>
<li>Makes <em>P</em> available on <em>Scroll Lock</em>.<br />
A pragmatic backup key for P when using other layouts than Colemak. For instance, some virtual machines read raw input from the keyboard, but the scancode map still applies.</li>
<li>Moves <em>Left Shift</em> to <em>Less Than</em> (at the right of <em>Left Shift</em> on pc-105 keyboards).<br />
This eases the strain on the left little finger.</li>
<li>Copies <em>Left Alt</em> to <em>Alt-Gr.<br />
</em>This way, you can use both hands for the Alt modifier, which greatly reduces the strain on the hands. Generally, <strong>use the one hand for the key and the other hand for the modifier</strong>.</li>
<li>Moves <em>Alt-Gr</em> to the original position of <em>Left Shift.<br />
</em>Takes a little to get used to, but very handy when defining custom keybindings.</li>
</ul>
<p>The format of the scancode map is pretty simple:</p>
<pre>00,00,00,00, &lt;- preamble
00,00,00,00,
08,00,00,00, &lt;- number of remaining 4-tuples (end-sequence inclusive)
01,00,3a,00, &lt;- swap Escape and Caps Lock
3a,00,01,00,
...
00,00,00,00  &lt;- end-sequence</pre>
<p>You can find more information on the scancode map format <a href="http://www.microsoft.com/whdc/archive/w2kscan-map.mspx">here</a>, and a scan code reference <a href="http://download.microsoft.com/download/1/6/1/161ba512-40e2-4cc9-843a-923143f3456c/scancode.doc">here</a>. Have fun&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://mntnoe.com/2009/12/scancode-mapping-in-windows-xp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

