ball and trunion to a splined output

I can't tell if you're looking to rework the transmission, or adapt the driveshaft. If the latter, see here.