Ejemplo n.º 1
0
 public override void ScController_AfterModifierChanged(object sender, ScController.ModifierChangedArgs e)
 {
     if (State)
     {
         ScController.SetJoystickButton(State, ScController.ModifiedButton(vButtonId), vJoyTypes.Commander);
     }
 }
Ejemplo n.º 2
0
 public override void Controller_ButtonDown(object sender, ButtonEventArgs e)
 {
     if (e.Button == ButtonId)
     {
         State = true;
         ScController.SetJoystickButton(State, ScController.ModifiedButton(vButtonId), vJoyTypes.Commander);
     }
 }
Ejemplo n.º 3
0
 public override void Controller_ButtonDown(object sender, ButtonEventArgs e)
 {
     if (e.Button == ButtonId)
     {
         State = true;
         ScController.SetJoystickButton(State, vButtonId, vJoyTypes.Virtual);
     }
 }
 public override void Controller_ButtonDown(object sender, ButtonEventArgs e)
 {
     if (e.Button == ButtonId)
     {
         ScController.OnBeforeModifierChange();
         State = true;
         ScController.OnAfterModifierChange();
     }
 }