Make Caps Lock to Behave Differently

16 views
Skip to first unread message

Alex Petrovsky

unread,
Sep 2, 2022, 1:51:30 PM9/2/22
to Karabiner
Hello,

I like the idea of using Caps Lock as Fn, where when Fn is pressed I use IJKL as arrows. It works great now.
However, sometimes I do actually need Caps Lock, so I was thinking if it's possible to make it act like a regular Caps Lock if I quickly press it VS. make it act like it's Fn when I'm holding it and still not activating Caps Lock after releasing.

I was able to to achieve the first part, but it wasn't acting as Fn when I was pressing it, it wasn't doing anything. 
Does anyone know if it's even possible and what am I missing? The code is below.

Thanks,

{
  "title": "",
  "rules": [
    {
      "description": "",
      "manipulators": [
        {
          "type": "basic",
          "from": {
            "key_code": "caps_lock"
          },
          "to_if_alone": [
            {
              "repeat": false,
              "key_code": "caps_lock"
            }
          ],
          "to_if_held_down": [
            {
              "repeat": false,
              "key_code": "fn"
            }
          ]
        }
      ]
    }
  ]
}

Reply all
Reply to author
Forward
0 new messages