Source buttons?

hi sorry if this is not the right place to put this. But is there a way that I can change the source in volumio using buttons from gpio on pi4? Like a separate button for each source ie harddrive, tidal, spotify, aux, local network.