Пример #1
0
 public override void ScController_AfterModifierChanged(object sender, ScController.ModifierChangedArgs e)
 {
     if (State)
     {
         ScController.SetJoystickButton(State, ScController.ModifiedButton(vButtonId), vJoyTypes.Commander);
     }
 }
Пример #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);
     }
 }