Example #1
0
 private void HandleJoystickButtonDown(JoystickButtonDownEventArgs args)
 {
     switch (args.Button)
     {
     case 0:
         ProbablyClick?.Invoke(this, GetSimleEventArg());
         break;
     }
 }
 public JoystickButtonEventArguments(JoystickButtonDownEventArgs args, Input input) : base(args, input)
 {
     Button = args.Button;
 }
 private void OnJoystickButtonDown(JoystickButtonDownEventArgs args)
 {
     _joystickButtonDown?.Invoke(this, new JoystickButtonDownEventArguments(args, _input));
 }
Example #4
0
 protected JoystickEventArguments(JoystickButtonDownEventArgs args, Input input)
 {
     JoystickID = args.JoystickID;
     GetExtraInfo(input);
 }