Hi,
I am using CInsim to get Outgauge data in my c/c++-application. The connection is working and I can get data from the game about speed, RPM etc, but the Outgauge->Flags is not updating for me.
I tried using code as:
if (pOutgauge->Flags | OG_HANDBRAKE)
{
printf("Handbrake");
}
This will give me that the handbrake light is always on. If i check the flags (of type word) variable this never changes any values when pressing handbrake, headlights etc. Is there any setup needed for these to work?
I also wonder if LFS contain implementation of signal left and right. I can't find any controller for it, but the flags contain them.
Regard,
Petter Gustavsson
I am using CInsim to get Outgauge data in my c/c++-application. The connection is working and I can get data from the game about speed, RPM etc, but the Outgauge->Flags is not updating for me.
I tried using code as:
if (pOutgauge->Flags | OG_HANDBRAKE)
{
printf("Handbrake");
}
This will give me that the handbrake light is always on. If i check the flags (of type word) variable this never changes any values when pressing handbrake, headlights etc. Is there any setup needed for these to work?
I also wonder if LFS contain implementation of signal left and right. I can't find any controller for it, but the flags contain them.
Regard,
Petter Gustavsson