DeviceSelector.h maybe is good to add an option for pins pullup/pulldown declaration for default values (to be included on compile/creation of firmware)
Gpio pins state (pullup,pulldown) declaration of default values states for pins example:
_p(a,0) = 1 or _p(a,0) = 0