_simulateKeyUpEventsHiddenByCmd(event, key, focusTreeId, componentId, options) {
    if (isCmdKey(key)) {
      const iterator = new KeyCombinationIterator(this.currentCombination);

      iterator.forEachKey((keyName) => {
        if (isCmdKey(keyName)) {
          return;
        }

        this._simulator.handleKeyUpSimulation({event, key: keyName, focusTreeId, componentId, options});
      });
    }
  }
If the key is in the current combination and recorded as still being pressed
down (as either keydown or keypress), then we update the state
to keypress or keyup (depending on the value of recordIndex).