Added Encoder, Joystick port 2, and offJoy declaration.