First go to Trigger under Left, click the down arrow and select Record.
In my case, the right stick is not recognised correctly, because its axes have been set as default buttons for the 2 triggers. Move the sticks of your gamepad to check if the green cross on the controller image in the middle of the window follows your actions.