@mitu Thank you, that was the problem!
I may have missed something in the documentation. I thought I had to configure input twice, once for the main box, and once for the second box. But configuring for the second box, even with all the buttons plugged into the same slots, caused the important buttons on the main box (coin, 1P, 2P) to be forgotten.