3 ms·
I have a script I use with Starcraft2 (on Mac I should know better..) hidutil property --set '{ "UserKeyMapping": [{ "HIDKeyboardModifierMappingSrc": 0x7000000
by karmakaze 4y ago
I have a script I use with Starcraft2 (on Mac I should know better..)
hidutil property --set '{ "UserKeyMapping": [{ "HIDKeyboardModifierMappingSrc": 0x70000002B, "HIDKeyboardModifierMappingDst": 0x7000000E1 }, { "HIDKeyboardModifierMappingSrc": 0x700000039, "HIDKeyboardModifierMappingDst": 0x70000002B }, { "HIDKeyboardModifierMappingSrc": 0x7000000E1, "HIDKeyboardModifierMappingDst": 0x7000000E2 }] }'
It remaps tab->L.shift, capslock->tab, L.shift->L.alt
Why? Using TheCoreLite, so I can hit tab/caps/shift labelled keys with pinky and cmd with thumb and reach a good number of hotkeys including function keys.
On Windows, the PowerToys keyboard manager can do the same with a nice config UI.
- pixelbath 4y agoOh, man, thanks for this. I've been lamenting that Cmd is essentially dead without remapping it, and this is the last blocker for me adopting TheCore.
- csdvrx 4y agoOn Windows, you use AHK to do that and way more. You know about Caps being Esc alone and Control when chorded? Likewise, AHK can turn the Alt keys in Home/End when pressed alone, and the Shift keys in PageUp/PageDown. One handed Alt-PageUp on the left hand side of the keyboard becomes pressing and holding the left Alt then pressing and releasing the left Shift.