Move Bone according to input

I would like to rotate my character’s left foot on the Y-axis based on an input value from the joy-stick. So, based on how much the player turns the joystick in a certain direction, the foot will turn at a certain proportional angle. How can I achieve this?