Re: Trying to get USBkeys to work with SIOC
Quote:
Originally Posted by
tiburon
Why does your script start with Var0000, value 0 ?
Martin
You can delete that line - the snippet of code I gave you was a fraction of my FMC code and I had left that in
That line actually is used to give some variables an initial value at start up. If you have a var 0000, then SIOC will run the code attached to that Var once at startup. So you can use it to initialise other variables eg
Var 0000 Value 0
{
&Altitude = 10000
&Heading = 180
}
Etc
Etc
David
Re: Trying to get USBkeys to work with SIOC
Quote:
Originally Posted by
tiburon
So if I understand correctly : For the second option you don't have to assign keystrokes at all ? You just see which codes are generated ?
Yes, indeed.
Quote:
Originally Posted by
tiburon
<USBKeys=5,44> : is there a reason for the "5" in this statement ?
Yes, because in sioc.ini i had defined DEVICE 5 to be your USBKeys card (44)
Code:
[USBKEYS]
USBKeys=5,44
Quote:
Originally Posted by
tiburon
What does "static" do in the first line of the script ?
It means that the var number 6000 will never change when you compile this script together with another script, is not very important here actually.
Gefeliciteerd met het 30ste kampioenschap van Ajax (!), zit je niet in de kroeg ? ;-)
Groeten,
Nico
Re: Trying to get USBkeys to work with SIOC
Nah, ben niet zo'n voetbal fan:)