/////////////// Input evaluation functions /////////////////////

            static bool CheckKey(KeyCode key, InputFn InputFn)
            {
                if (InputFn(key))
                {
                    return(true);
                }

                return(false);
            }
    static bool CheckInput(Shortcut key, InputFn InputFn)
    {
        List <KeyCode> keyCodes;

        if (TryGetKeyCodes(key, out keyCodes))
        {
            foreach (KeyCode keyCode in keyCodes)
            {
                if (InputFn(keyCode))
                {
                    return(true);
                }
            }
        }

        return(false);
    }