Control mapping issues

For some reason when I try to find a comfortable button on Xbox for right side leaning, I can’t configure how I want to use that button like double tapping or press but press again to return to normal. Anyway if the control can allow leaning to have choose a certain way to interact with said button?