private void HandleJoystickButtonUp(JoystickButtonUpEventArgs args) { switch (args.Button) { case 0: ClickComplete?.Invoke(this, GetSimleEventArg()); break; case 1: AltClickComplete?.Invoke(this, GetSimleEventArg()); break; } }
public JoystickButtonEventArguments(JoystickButtonUpEventArgs args, Input input) : base(args, input) { Button = args.Button; }
private void OnJoystickButtonUp(JoystickButtonUpEventArgs args) { _joystickButtonUp?.Invoke(this, new JoystickButtonUpEventArguments(args, _input)); }
protected JoystickEventArguments(JoystickButtonUpEventArgs args, Input input) { JoystickID = args.JoystickID; GetExtraInfo(input); }