&gt;  Currently i have capslock = escape when pressed alone, or control when pressed with another key.<p>This is brilliant idea. And it works on OSX too - using <a href="http:&#x2F;&#x2F;apple.stackexchange.com&#x2F;a&#x2F;132569" rel="nofollow">http:&#x2F;&#x2F;apple.stackexchange.com&#x2F;a&#x2F;132569</a>