public static bool Pressed(this ButtonConfigUi.Mappings mappings)
 {
     if (TasRunning.Value?.GetValue(null) as bool? == true)
     {
         return(false);
     }
     return(ButtonConfigUi.GetVirtualButton(mappings).Pressed);
 }
 public static void ConsumePress(this ButtonConfigUi.Mappings mappings)
 {
     ButtonConfigUi.GetVirtualButton(mappings).ConsumePress();
 }