the answer is they all are.. but they are overwritten in order, from the most vague to the most specific....
in other words you only have to define changed keys from the default.ini as it gets read first, then the input.ini then the driver.ini then the parent.ini then the romname.ini
however mame's internal config files can sometimes give it heck, so it's best to delete those.