Added Joystick class.