docs: def get_key_codes(keys):
      """
      Calculates the list of key codes from a string with key combinations.
      Ex: 'CTRL+A' will produce the output (17, 65)
      """
      keys = keys.strip().upper().split('+')
      codes = list()
      for key in keys:
          code = ks_settings.KEY_CODES.get(key.strip())
          if code:
              codes.append(code)
      return codes