public override bool Inputs()
 {
     if (InputKeyboard.State.GetPressedKeys().Any(x => (int)x >= (int)Keys.D0 && (int)x <= (int)Keys.Z))
     {
         return(false);
     }
     else if (!string.IsNullOrWhiteSpace(filter) && Input2.DelayedButton(FF8TextTagKey.Cancel, ButtonTrigger.Press | ButtonTrigger.Force))
     {
         Inputs_CANCEL();
         return(true);
     }
     else
     {
         return(base.Inputs());
     }
 }
Beispiel #2
0
 public override bool Inputs()
 {
     if (Input2.DelayedButton(FF8TextTagKey.RotateLeft) || Input2.DelayedButton(FF8TextTagKey.RotateRight))
     {
         IGM_LGSG.Mode mode = (IGM_LGSG.Mode)Menu.IGM_LGSG.GetMode();
         init_debugger_Audio.PlaySound(0);
         mode ^= IGM_LGSG.Mode.Slot1;
         mode ^= IGM_LGSG.Mode.Slot2;
         Menu.IGM_LGSG.SetMode(mode);
         return(true);
     }
     else
     {
         return(base.Inputs());
     }
 }
Beispiel #3
0
 public override bool Inputs()
 {
     if (Input2.DelayedButton(FF8TextTagKey.RotateLeft) || Input2.DelayedButton(FF8TextTagKey.RotateRight))
     {
         var mode = (IGMLoadSaveGame.Mode)Menu.IGMLoadSaveGame.GetMode();
         AV.Sound.Play(0);
         mode ^= IGMLoadSaveGame.Mode.Slot1;
         mode ^= IGMLoadSaveGame.Mode.Slot2;
         Menu.IGMLoadSaveGame.SetMode(mode);
         return(true);
     }
     else
     {
         return(base.Inputs());
     }
 }