the PS4 controller dimensions are taken from here:
https://www.printables.com/model/156650-controller-phone-mount
BTW, I really don't know how to measure the precise dimension of a complex 3D shape (like the PS4 controller). 3D scanning? Please leave a comment if you know any accessible way to take the measurements.
The author hasn't provided the model origin yet.