Example #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);
     }
 }
Example #2
0
 public TouchGameInput(Keybind descriptor)
 {
     IsPressed = false;
 }
Example #3
0
 public AnalogGameInput(Keybind descriptor, float val)
 {
     AnalogValue = val;
     Descriptor  = descriptor;
 }
Example #4
0
 public GameInput(Keybind descriptor, bool val)
 {
     IsPressed  = val;
     Descriptor = descriptor;
 }