Beispiel #1
0
 public JoystickHatEventArgs(JoystickInput inputChannel, int hatIndex, JoystickHatPosition hatPos, JoystickHatPosition lastHatPos) : base(inputChannel)
 {
     this.hatIndex   = hatIndex;
     this.hatPos     = hatPos;
     this.lastHatPos = lastHatPos;
 }
 public JoystickButtonEventArgs(JoystickInput inputChannel, JoystickButton button, bool pressed) : base(inputChannel)
 {
     this.button  = button;
     this.pressed = pressed;
 }
		public JoystickAxisEventArgs(JoystickInput inputChannel, JoystickAxis axis, float axisValue, float axisDelta) : base(inputChannel)
		{
			this.axis = axis;
			this.axisValue = axisValue;
			this.axisDelta = axisDelta;
		}
Beispiel #4
0
 public JoystickAxisEventArgs(JoystickInput inputChannel, int axisIndex, float axisValue, float axisDelta) : base(inputChannel)
 {
     this.axisIndex = axisIndex;
     this.axisValue = axisValue;
     this.axisDelta = axisDelta;
 }
Beispiel #5
0
 public JoystickButtonEventArgs(JoystickInput inputChannel, int buttonIndex, bool pressed) : base(inputChannel)
 {
     this.buttonIndex = buttonIndex;
     this.pressed     = pressed;
 }
		public JoystickHatEventArgs(JoystickInput inputChannel, JoystickHat hat, JoystickHatPosition hatPos, JoystickHatPosition lastHatPos) : base(inputChannel)
		{
			this.hat = hat;
			this.hatPos = hatPos;
			this.lastHatPos = lastHatPos;
		}
Beispiel #7
0
 public JoystickAxisEventArgs(JoystickInput inputChannel, JoystickAxis axis, float axisValue, float axisDelta) : base(inputChannel)
 {
     this.axis      = axis;
     this.axisValue = axisValue;
     this.axisDelta = axisDelta;
 }
		public JoystickButtonEventArgs(JoystickInput inputChannel, JoystickButton button, bool pressed) : base(inputChannel)
		{
			this.button = button;
			this.pressed = pressed;
		}