on mine it has a ball and socket joint ball on the pedal and socket on end of cable.....if I can go with this system in some way I might use it as is
here is a picture from the drivers footwell looking at the top of the pedal ...the ivory coloured thing is the socket the ball is obvious.