static newRecord(keyEventType, keyEventState) {
    const record = [
      KeyEventState.unseen,
      KeyEventState.unseen,
      KeyEventState.unseen
    ];

    if (!isUndefined(keyEventType)) {
      for(let i = 0; i <= keyEventType; i++) {
        record[i] = keyEventState;
      }
    }

    return record;
  }
Makes a new KeyEvent with one of the bits set to true
@param {KeyEventType=} keyEventType Index of bit to set to true
@param {KeyEventState} keyEventState The state to set the key event to
@returns {KeyEvent} New key event record with bit set to true