{"id":581,"date":"2011-02-03T17:42:56","date_gmt":"2011-02-03T17:42:56","guid":{"rendered":"http:\/\/kera.name\/articles\/?p=581"},"modified":"2011-06-22T09:26:36","modified_gmt":"2011-06-22T09:26:36","slug":"shifty-behaviour-on-the-right","status":"publish","type":"post","link":"https:\/\/kera.name\/articles\/2011\/02\/shifty-behaviour-on-the-right\/","title":{"rendered":"Shifty Behaviour On The Right"},"content":{"rendered":"<p>For a while now, I&#039;ve had a slightly frustrating problem with Windows key mappings. This week it became irritating, so I finally decided to look into a fix&#8230; or, at the very least, a workaround.<\/p>\n<p><b>No Rights<\/b><\/p>\n<p>It started with my work laptop. All the keys on it worked normally; I could select text by holding down either of the shift keys and pressing an arrow key. I could open a Remote Desktop connection to my PC at home and the keys still worked normally.<\/p>\n<p>But there was just <i>one<\/i> stubborn Windows server in the lab that, over Remote Desktop, refused to listen to the right shift key. It&#039;s as if the right shift key did not exist.<\/p>\n<p>It agreed that the left shift key definitely exists; of course, learning to type with a key on the other side of the keyboard, with a different hand, would be to undo over a decade of muscle memory.<\/p>\n<p>Fortunately, I didn&#039;t have to use that lab server terribly often, and usually not for very long. So I would just get on with it.<\/p>\n<p><b>Argh<\/b><\/p>\n<p>At home I use a brilliant piece of software called <a href=\"http:\/\/synergy-foss.org\/\">Synergy<\/a> to mate my work laptop to my personal desktop machine; it&#039;s essentially a <a href=\"http:\/\/en.wikipedia.org\/wiki\/KVM_switch#Software_alternatives\">KVM switch<\/a> implemented in software, and without the &#039;M&#039;.<\/p>\n<p>I have a mouse and keyboard connected to my PC as usual, and when I take the mouse to the right-hand edge of my PC&#039;s screen, it jumps to the laptop screen and keyboard control goes with it. If I then take the mouse to the left-hand edge of my laptop screen, control jumps back to my PC. It&#039;s a brilliant way to fake a two-desktop solution across computers connected only by a LAN. Aside from some unreliable clipboard synchronisation, I&#039;ve not had a problem with it.<\/p>\n<p>Anyway, after swapping out my desktop PC and settling down with a new installation of Windows 7, I noticed that the keyboard mapping over Synergy was no longer behaving. When passing input through to my laptop, I could type capitals with either the left or the right shift key, but attempting to select text with the right shift key was a non-starter.<\/p>\n<p>I failed to find any specific documentation on the issue and got increasingly fed up.<\/p>\n<p><b>The work-around<\/b><\/p>\n<p>Content at this point to work-around the issue in lieu of truly solving it, I turned to one of the <a href=\"http:\/\/vlaurie.com\/computers2\/Articles\/remap-keyboard.htm\">many<\/a> good keyboard re-mapping tools out there on the web: <a href=\"http:\/\/webpages.charter.net\/krumsick\/\">KeyTweak<\/a> allowed me to trick my computer into thinking that Right Shift is actually Left Shift, which &mdash; after forcing a reboot on me &mdash; finally saw the end of this debacle.<\/p>\n<p>If you run Windows Vista or Windows 7 and want to re-map your keyboard, be sure to get KeyTweak v2.3.0; many of the typical freeware download sites provide v2.2.0 and there doesn&#039;t appear to be a centralised homepage for the project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For a while now, I&#039;ve had a slightly frustrating problem with Windows key mappings. This week it became irritating, so I finally decided to look into a fix&#8230; or, at the very least, a workaround.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[12],"_links":{"self":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts\/581"}],"collection":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/comments?post=581"}],"version-history":[{"count":5,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts\/581\/revisions"}],"predecessor-version":[{"id":714,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/posts\/581\/revisions\/714"}],"wp:attachment":[{"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/media?parent=581"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/categories?post=581"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kera.name\/articles\/wp-json\/wp\/v2\/tags?post=581"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}