Supporting a generic ShiftRegister motor controller