I've had the plastic covers that hide the controller off of a relative's viking e-go to repair all the broken and missing bits with dissolved ABS.
There's a couple of white wires coming out of the controller with a 10K trim pot connected by a plug and socket, which was wrapped in heatshrink...