How do I set up gesture control?

Go to the Nothing X app. Click the icon for Ear (stick) and enter the corresponding control.