1

I have two command keys on my MacBook Pro(High Sierra). I often use control with my pinky finger. Is it possible to map only right Cmd key with control key while the left Cmd key should function as it is? It would really help in removing the strain from pinky finger.

P.S. I looked at the solution of similar question and found that the specification is not only outdated but doesn't contain the hex code for right and left command keys.

I also tried the following command by using key code from /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/Headers/Events.h file but it still doesn't works

hidutil property --set '{"UserKeyMapping":
[{
    "HIDKeyboardModifierMappingSrc":0x700000036,
    "HIDKeyboardModifierMappingDst":0x70000003b}]
}'
  • 2
    Right or left key? – Nimesh Neema Sep 28 '18 at 7:16
  • Please clarity if you are looking to map just one of the two Command keys to Control key or both of them. Also, resolve the ambiguity as to which Command key you are referring to, right or left? – Nimesh Neema Sep 28 '18 at 9:51
  • @NimeshNeema are we to assume the “normal” meaning of left & right? – Solar Mike Sep 28 '18 at 12:39
  • 1
    @SolarMike Please define normal in this context. – Nimesh Neema Sep 28 '18 at 12:42
  • @Allan Can you please remove it from duplicate as the similar question doesn't answer my question. – himanshu219 Sep 29 '18 at 9:21

You must log in to answer this question.

Browse other questions tagged .