APDS-9960 input interrupt?

Hi,

I'm trying to add gesture sensing to a project and I use the standard code that puts the gesture recognition in the loop(). My loop is pretty busy and it is hard to get it to see my hand movements because of the loop delays.

This is an onboard sensor on a Nano Sense board and when I look at the schematic I see that the APSD-9960 chip includes an interrupt input to the processor. I'd like to use that input to cause an interrupt routine to handle the gesture, so that I'm not messed up by the loop timing.

Can I use the interrupt input from the sensor to interrupt the program? If so, how do I set up the interrupt without an actual input pin? Thanks for any help.

Sid