@nadenislamarre can you add the following to the next build for PS4 controllers.
#disable DS3/DS4 motion controls
SUBSYSTEM=="input", ATTRS{name}=="*Motion Sensors", RUN+="/bin/rm %E{DEVNAME}", ENV{ID_INPUT_JOYSTICK}=""
Source is at https://github.com/RetroPie/RetroPie-Setup/issues/2436
I do not take any credit, i just wanted my wireless PS4 controller to stop showing as 2 controllers, it made PSP and N64, PS2 not work correctly.
But with this change it works flawless now. There is one of my post that user @CoinTraderSV brought me to the solution.
Thank you much