No you don’t have to, and have a look here to identify the encoders pins:
Webonf pins configuration is okay.
Good Luck