i dont know because i didnt do that never,but it seems to work.i think you can do one think:load de example ain_din_dout,put the 8 pins of ain inputs on the core to ground(to avoid unwanted midi signal)and try the buttons,in the display will appear button id,i suppose that in the midiox so.try it.
After investigations: my conclusion is that everything is allright. Still I wonder why buttons 17 to 24 are connected to the first chip, or perhaps I should refrase that to: Why did somebody call the first chip-buttons 17-24?
Why did somebody call the first chip-buttons 17-24?
Oh, this has some historical reasons - in the first months I just wanted to prevent that everybody has to change the wiring of his box with every new release. The very first MB64 supported only 16 LEDs and 24 buttons, and I improved the driver successively.
However, today the shift registers are freely assignable to the button and LED entries in main.asm (thats the purpose of the DIN_MAP and DOUT_MAP). Als the menu buttons are free assignable to any pin (not only to the first 64, but also to the remaining 64 digital inputs…)