Hi
The Bitbucket adress .....
https://bitbucket.org/mobiflight/mobiflightfc
****
About Wires.... You not need 140 seperate Wires for 70 Buttons...... The GRD can be shared through all buttons... So you only need 71 Wires to Arduino ( 70x Button Pin 1x GRD) ( But shure this One Ground Wire must go through ALL 70 Buttons.)
BUT In A MAtrix you also need this wires.... Every Button need a Connection to the specific Row and Collum.... Only difference is you not cable it to 70 Different Pins... You set it to your maby 9x9 Matrix Pins shared.
To prevent Ghost Keys you also need a resistor for every switch ( Ok... In a FMC there is no Double Key use normaly.... But a Matrix system MUST prevent Ghost Keys too in other parts)
As i said in older Topics.... A Matrix is interesting if you use a PCB.... Cause here you can work with printet circut for that difficult sharing Collums and Rows.....
BUT Here same argument.... If you use a PCB you can simply make 70 individual Rows for your buttons and you can add a connector where you can mount your Arduino direct ( So wires are not longer needed)
****
About slowing firmware..... I´m no programmer ! So my arguments are still theory !
I just think a button like now is pretty simple.... If Arduino Pin change status a easy call go through the Serial and Mobiflight see it.
With a Matrix every "Pin status change" must start a Loop that check what other Pin is change same Time. Then the logic must calculate what Button is pushed.
I Agree.... this is just a additional line and pretty shure it not slow down the hole system segnificant /whatever a multibuttonpress needs more code)..... But you must see....
The Mobiflight System must first define a Matrix... If we say we use a 8x8 Matrix basicly then you feel bad cause 8x8=64 You need 70 !
What happen if a user only need 20 Inputs.... Then he must use the 8x8 Matrix, too. ( Cause only 8x8 is possible in this example.)
If we plan with a custom Matrix where user can define collumes and rows himself then a big new tool must be written that generate the Matrix on Arduino for every user personal ( and not a premade solution) .
Thats maby the best idea.... But belive me.... Lots of beginners here will not be able to work with it cause its to difficult !
****
Summary.... Please appology my conservativ policy..... Just my personal thoughts !
You need to talk to Sebastian finaly.... He decide what will be implement and what not. !