15.1 C
New York
Sunday, May 28, 2023

macos – Karabiner remap unless other secrets are pushed


I discovered that I can remap a number of secrets pushed at the very same time: https://karabiner-elements.pqrs.org/docs/json/complex-modifications-manipulator-definition/from/simultaneous/

 {
" type": "fundamental",.
" from": {
" synchronised": [
            {
                "key_code": "a"
            },
            {
                "key_code": "s"
            },
            {
                "key_code": "d"
            }
        ],.
" modifiers": {
" optional":["any"]
}
},.
" to":[
        {
            "key_code": "mission_control"
        }
    ]
}

However I wish to constantly remap the fn secret to ideal shift, other than when the F1, F2 and so on secrets are likewise pushed.

That’s since I desire fn to be ideal shift, however still have the ability to utilize fn + f1 and so on faster ways to manage brightness and volume. My initial mapping

 {
" type": "fundamental",.
" from": {
" apple_vendor_top_case_key_code": "keyboard_fn".
},.
" to":[
    {
      "key_code": "right_shift"
    }
  ]
}

stops my system-wide brightness controls from working (I utilize fn + the function secret to activate the macOS binding rather of the app’s one)

My other workaround effort was to map to both the ideal shift and the function secret at the very same time:

" to": [
  {
    "apple_vendor_top_case_key_code": "keyboard_fn"
  },
  {
    "key_code": "right_shift"
  }
]

Regrettably, just the ideal shift gets spotted. If I switch their positions in the list, then just the function essential gets spotted.

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles