docs: function (evt) {
          var kc = evt.keyCode
          if (!this.dispatchEvents) {
              return
          }
  
          // Repeating key
          if (this._keysDown[kc]) {
              return this.keyRepeat(evt)
          }
  
          this._keysDown[kc] = true
  
          for (var i = 0; i < this.keyboardDelegates.length; i++) {
              var entry = this.keyboardDelegates[i]
              if (entry.delegate.keyDown) {
                  var swallows = entry.delegate.keyDown(evt)
                  if (swallows) {
                      break
                  }
              }
          }
      }