With 6 wires on the switch, I concur that it's "probably" a polarity reversing switch with no controller. If that's the case, the 2 center wires would run directly to the motor. My previous RV had a Lippert slideout that worked that way. There's one statement in the documentation that says if the switch is held after the room is fully extended or retracted, "the control" will shut off the motor after a few seconds. There's no controller in that system, so there's either something in the motor, or they're relying on the required 30 amp auto reset circuit breaker for that. One troubleshooting step says to hook a battery directly to the motor and see if it runs. Maybe that's feasible, maybe it's not. A different troubleshooting step says to hook a voltmeter at the motor and see if it shows power when the switch is pressed, and if it does, replace the motor. (If the meter does show good voltage, I'd personally verify with a direct-connected battery before buying a new motor).