By default, the controls are set to mode 2, which is the most common configuration in the United States.
After programming the aux switches, verify in the Betaflight.
WARNING! Be sure props are removed before switch verification.
Start in the Receiver tab.
Flip the switch to see which AUX bar moves. Here, a two position switch was set up to channel 5, which shows up as AUX 1 in Betaflight.
Move to the Modes tab to set up what function the switch activates.
To set the arm switch, click the Add Range button below ARM. Set the AUX drop down to the AUX number from the Receiver page. If it was the AUX 1 bar that moved, leave the dropdown set to AUX 1. Drag the slider to the position that you want to be the arm state. The orange indicator below the slider shows the current switch position, so you can decide whether you want a forward or backward switch position to arm the drone.
Click save in the lower right corner of Betaflight to set the arm switch.