adding buttons to MIDI core but not using DIN module

I am building the MIDI CV project f=which uses an AOut module and a MID core. Additionally 4 buttons need to be read for the display interface. Can I modify the core module to read 4 inputs instead of using hte DIN module? WOuld I have to change the MIOS if I did this?

thanks!