Updated main.c with joystick code.

Added more Joystick defines and added gpio init code to initialize joystick.