private void HandleJoystickAxisMove(JoystickAxisMoveEventArgs args) { var d = ApplyDeadZoone(args.Position); if (d != 0) { Trace.WriteLine(args.Button + " " + d); } }
public JoystickAxisMoveEventArguments(JoystickAxisMoveEventArgs args, Input input) : base(args, input) { Axis = args.Button; Position = args.Position; }
private void OnJoystickAxisMove(JoystickAxisMoveEventArgs args) { _joystickAxisMove?.Invoke(this, new JoystickAxisMoveEventArguments(args, _input)); }
protected JoystickEventArguments(JoystickAxisMoveEventArgs args, Input input) { JoystickID = args.JoystickID; GetExtraInfo(input); }