Does Apple provide something by which an app can be excluded from receiving gamepad inputs?

We can give permission to app for Mic and Camera. Can we build something by which an app doesn't get permission to receive any gamepad inputs but other app that have permission work regularly.

Does Apple provide something by which an app can be excluded from receiving gamepad inputs?
 
 
Q