you gotta pause the game and navigate to your weapon then press R1 to ransform it, no on the fly transform unfortunately. hopefully it will be added, the game is open source.
DS4Windows works if you have a ds4 controller.