The last version suffers from vibration. When shaking the controller, the trackpad button is pressed down. So, I added a blocker strip between the trackpad and the controller body.
the PS4 controller dimensions are taken from here:
https://www.printables.com/model/156650-controller-phone-mount
The author hasn't provided the model origin yet.