did you try using DS4 via USB?, it works fine for me and it should work for you out of the box too. If it doesn't something is wrong. If it does try again via bluetooth and see what is the retroarch output on left bottom screen when starting, it should print on screen the controller name.No idea about wii controller, I have never used one in RPi.
Hi,
Thanks, it works fine over USB. It is only via bluetooth that the DS4 fails. I think it is because the ds4drv driver is required for some DS4 controllers now over bluetooth and it isn't included in libreelec.