I tried to config the buttons through the main input config area while retropie was running and found that retropie recognizes the Ultimate OI board by Ultimarc as one game controller. Seems to me it has to be configured through the script manually. I'm trying it tonight to see if I'm successful. Did you ever get yours working @EspenT ?
Thanks.