The “PlayStation controller” bit I can understand; the Virginia class nuclear attack sub uses an XBOX controller to control the periscope (which is these days a “photonic mast” - all electronic). Sometimes it just doesn’t make sense to engineer something new and more expensive when a readily available item will work just as well.
The XBOX controller for the mast is for convenience. They have a milspec certified way other than the controller to operate the mast.
You do not mess around with submersibles, nothing wrong with convenience but it is insane to make such a device the primary means of operation and reliability.