Here are forum posts that cover Snapmaker control via external controllers:
Admittedly, I never looked deeper (yet?) - so no idea how the actually connect.