Add the joystick class to the diagram.