add camera control function file