joystick device as paramter