public JoystickAssingn() { LeftThumbstickX = new JoystickPositionAssign(JoystickAxis.X, false); LeftThumbstickY = new JoystickPositionAssign(JoystickAxis.Y, true); RightThumbstickX = new JoystickPositionAssign(JoystickAxis.U, false); RightThumbstickY = new JoystickPositionAssign(JoystickAxis.R, true); LeftTrigger = new JoystickPositionAssign(JoystickAxis.Z, false); RightTrigger = new JoystickPositionAssign(JoystickAxis.Z, true); buttonMap = new Buttons[NumButtons]; buttonMap[0] = Buttons.A; buttonMap[1] = Buttons.B; buttonMap[2] = Buttons.X; buttonMap[3] = Buttons.Y; buttonMap[4] = Buttons.LeftShoulder; buttonMap[5] = Buttons.RightShoulder; buttonMap[6] = Buttons.Back; buttonMap[7] = Buttons.Start; buttonMap[8] = Buttons.LeftStick; buttonMap[9] = Buttons.RightStick; }