The joystick class