If i understand your question correctly you are asking what pwm / relay relates to the joy stick buttons and axis. For this you can go to this link on the ifi website.
http://www.ifirobotics.com/docs/lega...e-2004-1-7.pdf
though i still would recommend you writing your own easyc code for your robot. if need help with that pm me.