Einzelnen Beitrag anzeigen
Alt 21.01.2006, 09:57   #2
Pantu
Master
 
Registriert seit: 11.01.2001
Beiträge: 798


Standard

Hallo DLH1234,

geht über FSUIPC und sogenannte virtual buttons, die man in der FSIF.ini einträgt. Schalter über FSUIPC erkennen lassen und dann in FSUIPC ein Tastenkommando zuordnen.

Beispiel FSIF. ini:

........

1, "JS67 Virtual joybuttons", 510, 0, 0x334c, I32,,RWT ,10,1,1,
2, "JS67button 0", 511, 0, 0, BIT, 0, RW ,10,1,1,
2, "JS67button 1", 512, 0, 0, BIT, 1, RW ,10,1,1,
2, "JS67button 2", 513, 0, 0, BIT, 2, RW ,10,1,1,
2, "JS67button 3", 514, 0, 0, BIT, 3, RW ,10,1,1,
2, "JS67button 4", 515, 0, 0, BIT, 4, RW ,10,1,1,
2, "JS67button 5", 516, 0, 0, BIT, 5, RW ,10,1,1,
2, "JS67button 6", 517, 0, 0, BIT, 6, RW ,10,1,1,
2, "JS67button 7", 518, 0, 0, BIT, 7, RW ,10,1,1,
2, "JS67button 8", 519, 0, 0, BIT, 8, RW ,10,1,1,
2, "JS67button 9", 520, 0, 0, BIT, 9, RW ,10,1,1,
2, "JS67button 10", 521, 0, 0, BIT, 10, RW ,10,1,1,
2, "JS67button 11", 522, 0, 0, BIT, 11, RW ,10,1,1,
2, "JS67button 12", 523, 0, 0, BIT, 12, RW ,10,1,1,
2, "JS67button 13", 524, 0, 0, BIT, 13, RW ,10,1,1,
2, "JS67button 14", 525, 0, 0, BIT, 14, RW ,10,1,1,
2, "JS67button 15", 526, 0, 0, BIT, 15, RW ,10,1,1,
2, "JS67button 16", 527, 0, 0, BIT, 16, RW ,10,1,1,
2, "JS67button 17", 528, 0, 0, BIT, 17, RW ,10,1,1,
2, "JS67button 18", 529, 0, 0, BIT, 18, RW ,10,1,1,
2, "JS67button 19", 530, 0, 0, BIT, 19, RW ,10,1,1,
2, "JS67button 20", 531, 0, 0, BIT, 20, RW ,10,1,1,
2, "JS67button 21", 532, 0, 0, BIT, 21, RW ,10,1,1,
2, "JS67button 22", 533, 0, 0, BIT, 22, RW ,10,1,1,
2, "JS67button 23", 534, 0, 0, BIT, 23, RW ,10,1,1,
2, "JS67button 24", 535, 0, 0, BIT, 24, RW ,10,1,1,
2, "JS67button 25", 536, 0, 0, BIT, 25, RW ,10,1,1,
2, "JS67button 26", 537, 0, 0, BIT, 26, RW ,10,1,1,
2, "JS67button 27", 538, 0, 0, BIT, 27, RW ,10,1,1,
2, "JS67button 28", 539, 0, 0, BIT, 28, RW ,10,1,1,
2, "JS67button 29", 540, 0, 0, BIT, 29, RW ,10,1,1,
2, "JS67button 30", 541, 0, 0, BIT, 30, RW ,10,1,1,
2, "JS67button 31", 542, 0, 0, BIT, 31, RW ,10,1,1,

.......
Die Reihe kann bis zu 288 vituelle Buttons fortgesetzt werden.
Darauf achten, dass die Nummerierung der Einträge in der FSIF nicht doppelt auftreten, also schön am Schluß Deiner FSIF.ini anhängen.

Hoffe das hilft Dir weiter.

Gruß

Peter
Pantu ist offline   Mit Zitat antworten