pqrs-org/Karabiner-Elements

Keyboard freezing forcing a restart

Open

#2 035 ouverte le 22 oct. 2019

Voir sur GitHub
 (78 commentaires) (32 réactions) (0 assignés)C++ (909 forks)batch import
bugduplicatehelp wantedstale

Métriques du dépôt

Stars
 (22 112 stars)
Métriques de merge PR
 (Merge moyen 23h 28m) (1 PR mergée en 30 j)

Description

Simplest way to reproduce:

Press any modifier key, then hit caps_lock. This will randomly freeze the keyboard no keys work until I restart the computer again. Sometimes it freezes on the first try, other times take 10+ tries.

Here's the simplest config I could reproduce with:

{:layers {:homerow {:key :caps_lock :alone {:key :escape}}}
 :main [{:des "bug" :rules [:homerow [:a :a]]}]}

or

 "rules" : [ {
        "description" : "Auto generated layer conditions",
        "manipulators" : [ {
          "type" : "basic",
          "to" : [ {
            "set_variable" : {
              "name" : "homerow",
              "value" : 1
            }
          } ],
          "from" : {
            "key_code" : "caps_lock"
          },
          "to_after_key_up" : [ {
            "set_variable" : {
              "name" : "homerow",
              "value" : 0
            }
          } ],
          "to_if_alone" : [ {
            "key_code" : "escape"
          } ]
        } ]
      }, {
        "description" : "bug",
        "manipulators" : [ {
          "from" : {
            "key_code" : "a"
          },
          "to" : [ {
            "key_code" : "a"
          } ],
          "conditions" : [ {
            "name" : "homerow",
            "value" : 1,
            "type" : "variable_if"
          } ],
          "type" : "basic"
        } ]
      } ]

Guide contributeur