Best played with an Xbox controller.
Xbox Controls:
Tilt the Left Stick left and right to swing
Hold Triggers to grab
Tap A/B to lengthen/shorten the rope
Keyboard controls:
A/D to swing
Left Control/Spacebar to grab
Z/X to lengthen/shorten the rope