A and D to move left and right, respectively. W and S to move the main link up and down. up Arrow and down Arrow to move the secondary link up and down. left Arrow and right Arrow to move bucket up and down.
just edited the code a bit