Where to change rotorpin numbers

Is rotator_pins.h thw correct place/file to change the used pins if using a different controller board??

Greetings

Berdien

Hey, yes is the correct header file.

The end switches, should they be connected to ground??