5

I have a Windows 7 keyboard that has Ctrl-LWindows-Alt bottom left. Can I switch LWindows-Alt layout to Alt-LWindows?


Thanks for the answers!

I checked, downloaded the tools and tested very briefly. I must say that Will's answer is the best for me as I don't have to do anything but drag and drop. And as it just changes the registry, I expect no resource would be used. I remapped TAB and L-Windows key to Alt (meta) so that I can use Emacs with my PC like the one with my Mac.

5 Answers 5

9

I would use Remapkey.exe. It is available for free in the Windows Server 2003 Resource Kit.

alt text

3
  • Nice. This would seem to be the more up-to-date version of the MKLC - I didn;t know this existed.
    – imoatama
    Sep 15, 2010 at 15:49
  • +1 - I'll remember this for the next keyboard remapping question that comes up!
    – JNK
    Sep 15, 2010 at 15:50
  • 1
    Note: You have to right-click remapkey.exe and choose "Run as Administrator" for it to be able to write the results to the registry.
    – Kev
    Feb 10, 2016 at 15:11
8

As an AutoHotKey script:

LAlt::LWin
LWin::LAlt
2

You can do this with autohotkey pretty easily.

1

The best way to do this is with Microsoft Keyboard Layout Creator. This allows you to create custom keyboard layouts, which are then installed and can be set as the system keyboard layout.

It'd be pretty easy to create a layout with the Alt and Windows keys switched, and this method has the advantage of residing much lower in the OS than a 3rd party tool or Hotkey program. This means that when you hit Alt, the OS sees it as LWindows (and of course vice versa). This is going to be more reliable than overriding the default behaviour of a system key, which AutoHotKey seems to offer.

4
  • Why'd this get an upvote? MKLC (as of the current version 1.4) calls such special keys "unassignable," and then, of course, does not let you assign them.
    – Kev
    Feb 10, 2016 at 15:03
  • Possibly because it worked when I posted it, more than 5 years ago.
    – imoatama
    Feb 18, 2016 at 4:48
  • fair enough, although it seems strange that they would have removed this functionality.
    – Kev
    Feb 18, 2016 at 14:32
  • can you elaborate on how that is possible - since judging by this image of ms klc 1.4 it isn't showing the windows key i.imgur.com/KtbcFvF.png
    – barlop
    Apr 10, 2017 at 8:28
0

See the answer to How to remap Right-Win and Right-Alt keyboard keys for information what Remapkey.exe. in @WilliamHilsum's answer does in the background (and what you easily can achieve with .reg files, the applying of which can be automated, too).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .