Beispiel #1
0
 public static FF8String ButtonString(FF8TextTagKey key, ButtonTrigger trigger = ButtonTrigger.None)
 {
     foreach (var list in InputList)
     {
         foreach (var kvp in list.Data.Where(y => y.Key.Contains(key)))
         {
             foreach (var test in kvp.Value)
             {
                 if (!list.DrawGamePadButtons)
                 {
                     return(test.ToString());
                 }
                 else if (test.GamePadButton != GamePadButtons.None)
                 {
                     return(GamePad.ButtonString(test.GamePadButton, key));
                 }
             }
         }
     }
     return("");
 }