PDA

View Full Version : FSUIPC values for ATC windows choice numbers



bstikkel
09-26-2010, 06:52 AM
Hello fellow-cockpit builders :D,

I have been searching the list of offsets in the Developers INfo for FSUIPC, but cannot find the offsets codes for the ATC screen on whitch the ATC communication choices are made.
Probably I am searching for the wrong word :roll:.
Anybody who can tell me where they are to find?

Greetings,
Bram Stikkel :-) :-D

Peter Dowson
09-26-2010, 09:43 AM
I have been searching the list of offsets in the Developers INfo for FSUIPC, but cannot find the offsets codes for the ATC screen on whitch the ATC communication choices are made.
There aren't any. No one (including myself) has hacked that far into the FS default ATC (probably because it isn't realistic enough to be worth the hundreds of man-hours it would need).

If all you want to do is avoid using KeyPresses, and use FS controls instead, then the controls are named ATC Menu 0 to 9, respectively.

Regards
Pete

bstikkel
09-26-2010, 10:49 AM
Hello Peter,
Thanks for replying so soon.

I am a very beginning SIOC programmer, starting to use Open Cockpits boards. so I am not yet familiair with several alternatives ;).
I think I have read about Keypresses as a separate tool, or is it a module in SIOC ?
And, with FS controls, do you mean the normal controls as they are in the menu of FSX itself, or is it also a separate programm?

Thanks for your patience :)!
Bram

bstikkel
09-26-2010, 11:04 AM
Hello Peter,

With the new term to search for (SIOC keypresses), I found this information.
http://www.lekseecon.nl/howto.html#keygen
I think I will be able to go forward with this instruction.

However, I do have two questions, following from the new info.
In the first way to generate keypresses directly from SIOC, a key is represented by a number. Where is a source for what keyboardkey has what number?
In the second described way (SIOC toggling FSUIPC virtual buttons) in the SIOC.ini file is defined what number represents what keypress. How do I make clear that I mean the non-numpad numbers there (as are nessesary for using the ATC window)?

Thanks for your help,
Bram Stikkel

Peter Dowson
09-26-2010, 12:31 PM
I think I have read about Keypresses as a separate tool, or is it a module in SIOC ?
By "keypress" I mean a press on a key -- one of those things on your keyboard.


And, with FS controls, do you mean the normal controls as they are in the menu of FSX itself, or is it also a separate programm?
I mean the controls you can assign in FS and in FSUIPC (there are a lot more assignable in FSUIPC).

If you need to use offsets only (sorry I've no knowledge whatsoever about this "SIOC" thingie), you can send keypresses or FS controls via different specified offsets in FSUIPC. They are listed in the offsets list in the FSUIPC SDK. The controls are also listed in documents called "list of FS.. controls", installed for you by FSUIPC.

Regards
Pete

Peter Dowson
09-26-2010, 12:33 PM
... a key is represented by a number. Where is a source for what keyboardkey has what number?
The key press codes are listed in the Advanced User's guide for FSUIPC, and in many other similar documents. You will find FSUIPC documentation installed for you by FSUIPC.


In the second described way (SIOC toggling FSUIPC virtual buttons) in the SIOC.ini file is defined what number represents what keypress. How do I make clear that I mean the non-numpad numbers there (as are nessesary for using the ATC window)?

The keypress list tells you which codes mean which keys.

Pete

bstikkel
09-26-2010, 04:24 PM
Hello Peter,
Thanks you for the clear explanation.
I think, I will manage now.
Greetings,
Bram