Cabela light guns for ps3 not working with retroarch

I’m trying to get the cabela fear master light gun for ps3 to work with retroarch…retroarch recognizes the controller but not the infrared camera like it does with the wiimote…I have retroarch on PC,Ubuntu and retropie…getting the light guns to work would be great