For the button, you could just use this:
Code:
if (leftStick.GetRawButton(1) == true) {
}
because the trigger on the joysticks is just button 1. All buttons on the Logitech ATK3's are labeled. That's why FIRST picked them. Also, that little roller thingy is the Z-axis. AKA, Axis 3.
X = 1
Y = 2
Z = 3
for controllers with 2 joysticks (like xbox or 360),
rotX = 4
rotY = 5