Declaring v5 partner controller

I am new to VEXcode and am coding in c++. My team is wanting to use v5 partner controllers and I am not sure how to declare them.

The VCS API has an entry on how to do this.

All you need to do is define another controller, name it something different, and set it to partner. (Also you might have to change your other controller to primary).
For primary:
For partner:

Declare your first one like this:

vex::controller Controller1 (vex::controllerType::primary);

and your partner like this:

vex::controller Controller2 (vex::controllerType::partner);

Thanks for the help. I looked but didn’t see it the first time.