Tap Events

I am developing a fully immersive application in Metal for Apple Vision Pro. I would like to know how I can access tap and double-tap events from Objective-C.