Add analog joystick class.