My issue is that there's no way to alt-tab on a tablet running W8 Pro (NOT RT) when I'm in a full screen desktop application. I want to remap my screen orientation hardware key to Alt-Tab. However, the problem here is that its scan code, E0_5B, is shared with the scan code for the hardware key for the Windows key. How can I remap the screen orientation key to alt-tab while retaining the functionality of the Windows key?

Edit: Before anyone brings this up, tablet buttons is not supported.

  • 2
    The Scancode Map REG_BINARY value under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout (which you can edit easily using programs such as SharpKeys) only lets you remap single keys. IMO you'll need AHK or similar for this. – Karan Feb 7 '13 at 22:38
  • Seems like you're right on that part. I tried checking the mapping for 00_A5 and it actually maps to 'K'. Apart from that, I'm still having trouble distinguishing the two hardware buttons from one another. The key code for both is the same, so how does Windows distinguish the orientation lock button from the Windows button? – Lunyx Feb 7 '13 at 23:06
  • I'm not too sure about the orientation lock button, but either two different buttons generate different scancodes, or in case of special buttons (such as on multimedia keyboards) the keyboard driver itself handles it and not Windows. – Karan Feb 7 '13 at 23:08
  • @Karan: I suggest you answer this based on AHK. – harrymc Feb 10 '13 at 8:58
  • @harrymc: I would, but first we need to know how exactly to make AHK detect the orientation button, and how to differentiate between it and the Windows key reliably. For all we know this might even require a device–specific solution. – Karan Feb 10 '13 at 17:04

Did you try this free tool? http://sharpkeys.codeplex.com/

Before trying, check out the info from the page regarding: "Things that SharpKeys will do" and "Things that SharpKeys will not do".

I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.