function standardizeKeyName(keyName, modifierKeys = { shift: false, alt: false}) {
  const _keyName = keyName.toLowerCase();

  const keyAfterAliases = MousetrapToReactKeyNamesDictionary[_keyName] || KeyShorthandDictionary[_keyName] || (keyName.match(/^f\d+$/) ? keyName.toUpperCase() : keyName);

  if (modifierKeys.shift) {
    if (modifierKeys.alt) {
      return resolveUnaltShiftedAlias(keyAfterAliases);
    } else {
      return resolveUnshiftedAlias(keyAfterAliases)
    }
  }

  return keyAfterAliases;
}
Returns the name for the specified key used by React. Supports translating key aliases
used by mousetrap to their counterparts in React
@param {KeyName} keyName Name of the key to resolve to the React equivalent
@param {Object} modifierKeys Options of which modifier keys are also pressed
@returns {ReactKeyName} Name used by React to refer to the key