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)); }
protected JoystickEventArguments(JoystickButtonDownEventArgs args, Input input) { JoystickID = args.JoystickID; GetExtraInfo(input); }