getKeyboardEventKey = (key, isKeySupported) => {
  return isKeySupported ? key : KeyboardKeyCodesMap[key];
}
@template {keyof KeyboardKeyCodesMap} T
@param {T} key
@param {boolean} isKeySupported
@returns {T | number | undefined}