Added Joystick functionality.