コード例 #1
0
        static KeyboardState Postfix(KeyboardState k, KeyboardState __result)
        {
            if (MultipleKeyboardManager.HasAttachedKeyboard())
            {
                return(MultipleKeyboardManager.GetAttachedKeyboardState() ?? new KeyboardState());
            }

            return(__result);
        }
コード例 #2
0
 //Seems unecessary?
 static bool Prefix()
 {
     return(!MultipleKeyboardManager.HasAttachedKeyboard());
 }