Switcheroo - Detect which input device the player is using

This is great, I have written this before for a few projects and I always hit a snag and wondered if your system can support it - Can your plugin tell the difference between PS4 and Xbox controller when used on windows? Steam shows 12 million users now using PS4 controllers for pc now so I want to support it but never found a way to get beyond “gamepad” as the filter and really get into what controller.