Using GamePad to to Play RoboHockey

The following image shows how a "Game Controller" can be used to control 3 different motors of a Lego Mindstorm NXT.

Game Controller Program

The LegoNXTMotor is placed to control the hockey/bat of the Mindstorm while LegoNXTDrive is to control its motion.

The program can be downloaded from here: