I think this is similar to:
You will have to add event listeners as in the topic’s PG example or customize camera input: