Karabiner-elements: complex_modifications json error: modifier should be string form: ["any"]

Created on 9 Oct 2017  路  1Comment  路  Source: pqrs-org/Karabiner-Elements

I am getting the following error

[error] [grabber] complex_modifications json error: modifier should be string form: ["any"]

with the following configuration

{  
   "complex_modifications":{  
      "parameters":{  
         "basic.to_if_alone_timeout_milliseconds":1000
      },
      "rules":[  
         {  
            "manipulators":[  
               {  
                  "description":"Change caps_lock to command+control+option+shift.",
                  "from":{  
                     "key_code":"caps_lock",
                     "modifiers":{  
                        "optional":[  
                           "any"
                        ]
                     }
                  },
                  "to":[  
                     {  
                        "key_code":"left_shift",
                        "modifiers":[  
                           "left_command",
                           "left_control",
                           "left_option"
                        ]
                     }
                  ],
                  "to_if_alone":[  
                     {  
                        "key_code":"escape",
                        "modifiers":{  
                           "optional":[  
                              "any"
                           ]
                        }
                     }
                  ],
                  "type":"basic"
               }
            ]
         }
      ]
   }
}

Is this part that is complaining?

{  
   "key_code":"escape",
   "modifiers":{  
      "optional":[  
         "any"
      ]
   }
}

Most helpful comment

                                "to_if_alone": [
                                    {
                                        "key_code": "escape"
                                    }
                                ],

>All comments

                                "to_if_alone": [
                                    {
                                        "key_code": "escape"
                                    }
                                ],
Was this page helpful?
0 / 5 - 0 ratings