Here's an example on how to assign it in the configurator:
1. Open "Data Table", go to "SimVim Functions", click "Selector_1" and assign it as a Toggle Switch to a pin.
2. Assign 2 different button functions to another pin.
3. Then, click the pin where the button is assigned. You will see a window listing the 2 button parameters. Click the "Selector" button at the top of this window.
4. Choose the mode group "Selector 1" there and click "Confirm".
You can now save your data.cfg file. The button will switch between the two functions based on the switch position.