Exemplo n.º 1
0
 private void OnJoystickHatMove(JoystickHatMoveEventArgs args)
 {
     _joystickHatMove?.Invoke(this, new JoystickHatMoveEventArguments(args, _input));
 }
 public JoystickHatMoveEventArguments(JoystickHatMoveEventArgs args, Input input) : base(args, input)
 {
     Hat      = args.Button;
     Position = (HatPosition)args.Position;
 }
Exemplo n.º 3
0
 protected JoystickEventArguments(JoystickHatMoveEventArgs args, Input input)
 {
     JoystickID = args.JoystickID;
     GetExtraInfo(input);
 }