lua api to go with my camera peripheral