Ejemplo n.º 1
0
 public XboxJoystickDPadButtonAsAxisSource(DPadAsAxisSourceOrientation orientation)
 {
     if (orientation == DPadAsAxisSourceOrientation.Vertical)
     {
         this.positiveButton = XboxJoystickDPad.Up;
         this.negativeButton = XboxJoystickDPad.Down;
     }
     else
     {
         this.positiveButton = XboxJoystickDPad.Right;
         this.negativeButton = XboxJoystickDPad.Left;
     }
 }
 public XboxJoystickDPadButtonAsAxisSource(DPadAsAxisSourceOrientation orientation)
 {
     if (orientation == DPadAsAxisSourceOrientation.Vertical)
     {
         this.positiveButton = XboxJoystickDPad.Up;
         this.negativeButton = XboxJoystickDPad.Down;
     }
     else
     {
         this.positiveButton = XboxJoystickDPad.Right;
         this.negativeButton = XboxJoystickDPad.Left;
     }
 }