Hide Joypad From Retroarch

Does anyone know how to hide a controller completely from Retroarch. I’m using a Switch Pro controller for Cemu but I don’t want the Retroarch cores to use this controller.

I’m using Better Joy for Cemu to connect the controller and the whitelist is set which prevents Xemu from detecting it but not Retroarch.