Hello @sharek

you don't need both ext0 and ext1 for the two buttons. You should be able to cover both buttons with ext1 by adding both to the bitmask:

#define BUTTON_PIN_BITMASK ((1UL << 37) | (1UL << 39))

Thanks
Felix