Partner joystick programing help.

Hello today I just recived my partner controller and I was wonder how do you program it using robot C?

Btn/Ch + Xmtr2
ex: Btn6UXmtr2

This thread shows how to check if there is a second controller present.
http://www.robotc.net/forums/viewtopic.php?f=11&t=5581

Thank so much for the information.