Пример #1
0
 public GamepadButtonEventArgs(GamepadInput inputChannel, GamepadButton button, bool pressed) : base(inputChannel)
 {
     this.button  = button;
     this.pressed = pressed;
 }
Пример #2
0
 public GamepadAxisEventArgs(GamepadInput inputChannel, GamepadAxis axis, float axisValue, float axisDelta) : base(inputChannel)
 {
     this.axis      = axis;
     this.axisValue = axisValue;
     this.axisDelta = axisDelta;
 }
Пример #3
0
		public GamepadButtonEventArgs(GamepadInput inputChannel, GamepadButton button, bool pressed) : base(inputChannel)
		{
			this.button = button;
			this.pressed = pressed;
		}
Пример #4
0
		public GamepadAxisEventArgs(GamepadInput inputChannel, GamepadAxis axis, float axisValue, float axisDelta) : base(inputChannel)
		{
			this.axis = axis;
			this.axisValue = axisValue;
			this.axisDelta = axisDelta;
		}