Ejemplo n.º 1
0
        bool HandleKeyboardInput()
        {
            // does current text-entry target want keyboard input?
            if (ProcessTextEntryForFrame() == true)
            {
                return(true);
            }

            // does cockpit want it?
            if (options.EnableCockpit)
            {
                if (activeCockpit.HandleShortcutKeys())
                {
                    return(true);
                }
            }

            return(false);
        }