Esempio n. 1
0
 public void ReloadBindings()
 {
     bindings = Settings.GetAllKeybinds();
     if (Settings.GetControlSchemeP2() == ControlScheme.Touch)
     {
     }
     // Ionno yet
     else
     {
         p2Start = bindings[(int)Settings.GetControlSchemeP2()].Find(k => k.Action == ControlAction.Menu);
     }
 }
Esempio n. 2
0
 public TouchGameInput(Keybind descriptor)
 {
     IsPressed = false;
 }
Esempio n. 3
0
 public AnalogGameInput(Keybind descriptor, float val)
 {
     AnalogValue = val;
     Descriptor  = descriptor;
 }
Esempio n. 4
0
 public GameInput(Keybind descriptor, bool val)
 {
     IsPressed  = val;
     Descriptor = descriptor;
 }