0

I want to perform two key mappings that are nonstandard:

  1. Caps Lock key will become another CTRL key.
  2. Some combination of keys (ideally, Shift CapsLock) will still be able to do the job normally performed by the CapsLock key -- toggling capitals.

It appears that the standard answers — SmartKeys, AutoHotKey, and Microsoft Keyboard Creator (MSKC) — don't map the CapsLock key, and/or don't map a combination of keys. I would love to be shown otherwise.

I am capable of editing a keyboard (.klc) file or the registry, if I only knew what to put there or what to change.

FYI: I have read that Shift+CapsLock does the CapsLock job on a Japanese keyboard.

Before you ask: why would I want to do that? Because I'm a Unix guy, so I learned to expect the Cntl key to the left of the "a" where it is handiest. And because sometimes you REALLY WANT to type several words in call caps.

2 Answers 2

0

Another Unix guy here. I lasted a whole 3 days on Win10, but I did so with my Control in the right place. ;)

I used "Convert Caps Lock to Control.reg"

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout]
"Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 

Now, after that you no longer have a Caps Lock, and you don't want Shift+Ctrl to change anything. So you might as well eat your hat and read the AutoHotKey's intro (and Google's too ;):

Capslock::Ctrl - Makes Capslock become a Control key. To retain the ability to turn Capslock on and off, add the remapping +Capslock::Capslock first. This toggles Capslock on and off when you hold down the Shift key and press Capslock. Because both remappings allow additional modifier keys to be held down, the more specific +Capslock::Capslock remapping must be placed first for it to work.

This doesn't works in certain videogames, though, so if you care about that you might as well mod the registry and bind AutoHotKey's SetCapsLockState, on|off to any key combo you want��I like double shift:

Lshift & Rshift::SetCapsLockState, % GetKeyState("CapsLock", "T")? "Off":"On"

Cheers!

0

Powertoys might meet your needs without having to eat your hat.;) Use its Keyboard Manager ... though I have to add that results sure seem quirky in that certain key combinations won't work.

The first step is to To disable the Caps Lock key, click the Keyboard Manager "Remap a key" to open the Remap keys window. Then pick The Physical Key: choosing Caps Lock and for Mapped to: choose Disable. Then click OK to accept the change.

Note* If Caps Lock is not intended to be disabled, rather used for some other purpose, for Mapped to: choose a preferred key.

Next click "Remap a shortcut" to open the Remap shortcuts window. Chose the key combination to toggle Caps Lock. I chose the Physical Shortcut: Shift(left) + Caps Lock to Map to: Caps Lock.

Note* Some key combinations will not work, for example Shift + Caps Lock. In fact I could find no key combination that included Caps Lock.

You must log in to answer this question.

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