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); }