Hi Pete,
I try to use Aerosoft MCP´s expansion board to program 288 buttons in FSUIPC.
According to Nico Kaan the varaibles.txt in MCP user data should be extended with following lines:
Green,13120,1,1,0,1,0,0,JS64: but 0
Green,13120,1,2,0,1,0,0,JS64: but 1
Green,13120,1,4,0,1,0,0,JS64: but 2
Green,13120,1,8,0,1,0,0,JS64: but 3
Green,13120,1,16,0,1,0,0,JS64: but 4
Green,13120,1,32,0,1,0,0,JS64: but 5
Green,13120,1,64,0,1,0,0,JS64: but 6
Green,13120,1,128,0,1,0,0,JS64: but 7
Green,0,0,0,0,0,0,0,
Yellow,13121,1,1,0,1,0,0,JS64: but 8
Yellow,13121,1,2,0,1,0,0,JS64: but 9
.....
Green,13155,1,128,0,1,0,0,JS64: but 7
Which in fact represents 288 buttons.
Sofar all is clear, but when pushing buttons it happens that FSUIPC wouldn´t recognize them all, except using Nico´s variables.txt which looks like this:
Green,13120,1,1,0,1,0,0,JS64: but 0
Green,13121,1,1,0,1,0,0,JS64: but 8
Green,13122,1,1,0,1,0,0,JS64: but 16
Green,13123,1,1,0,1,0,0,JS64: but 24
Green,0,0,0,0,0,0,0,
Green,13124,1,1,0,1,0,0,JS65: but 0
Green,13125,1,1,0,1,0,0,JS65: but 8
This however is far less than 288 buttons.
What´s wrong with my variables.txt that FSUIPC wouldn´t recognize a button other than 0;8;16;24
MCP however recognizes all buttons flawlessly.
It seems FSUIPC only accepts 1 Bit per used Byte.
Hope it is clear what I meant.
Any hint highly appreciated.
Thank you
Best rgds
Peter