Jump to content
The simFlight Network Forums

Recommended Posts

Quick question, maybe I'm missing something:

After initial load of all controllers, I give all Joysticks numbers, disabling AutoAssignLetters:

[JoyNames]
//J=Microsoft Joystick; G=G13; R=Rudder Pedals; A=Saitek TQ Left; B=Saitek TQ Right; Y=Yoke; Q=PFC TQ
AutoAssignLetters=No
J=VKBsim Black Box GF
J.GUID={79A34CA0-5F35-11E7-8001-444553540000}
G=Logitech G13 Joystick
G.GUID={CA70FAC0-5779-11E6-8005-444553540000}
R=MFG Crosswind V2
R.GUID={CA70FAC0-5779-11E6-800F-444553540000}
A=Saitek Pro Flight Throttle Quadrant (USB)
A.GUID={7400ED90-CD38-11E7-8001-444553540000}
B=Saitek Pro Flight Throttle Quadrant (USB)
B.GUID={7400ED90-CD38-11E7-8002-444553540000}

But then I start the sim, and close it, the result:

[JoyNames]
//J=Microsoft Joystick; G=G13; R=Rudder Pedals; A=Saitek TQ Left; B=Saitek TQ Right; Y=Yoke; Q=PFC TQ
AutoAssignLetters=No
J=VKBsim Black Box GF
J.GUID={79A34CA0-5F35-11E7-8001-444553540000}
G=Logitech G13 Joystick
G.GUID={CA70FAC0-5779-11E6-8005-444553540000}
R=MFG Crosswind V2
R.GUID={CA70FAC0-5779-11E6-800F-444553540000}
A=Saitek Pro Flight Throttle Quadrant (USB)
A.GUID={7400ED90-CD38-11E7-8001-444553540000}
B=Saitek Pro Flight Throttle Quadrant (USB)
B.GUID={7400ED90-CD38-11E7-8002-444553540000}

0=Logitech G13 Joystick
0.GUID={CA70FAC0-5779-11E6-8005-444553540000}
1=Saitek Pro Flight Throttle Quadrant (USB)
1.GUID={7400ED90-CD38-11E7-8001-444553540000}
2=MFG Crosswind V2
2.GUID={CA70FAC0-5779-11E6-800F-444553540000}
3=VKBsim Black Box GF
3.GUID={79A34CA0-5F35-11E7-8001-444553540000}
4=Saitek Pro Flight Throttle Quadrant (USB)
4.GUID={7400ED90-CD38-11E7-8002-444553540000}

 

Why does it create everything new with the numbers?

Thank you.

Share this post


Link to post
Share on other sites
2 hours ago, Kosta said:

Why does it create everything new with the numbers?

The numbers are the IDs used to address the devices via the Windows joystick interface. The letters are really just names you've given them. 

Pete

 

Share this post


Link to post
Share on other sites

Maybe you misunderstood. Maybe I am not understanding...

The first example is a content of an .ini file after the first edit. I basically gave all controllers letters.

Then I loaded and closed the sim, and while the letters remained, a part in bold appears, additionally to the letters (that's the second "JoyNames"). The part in bold always gets recreated. Shouldn't be needed, or?

Share this post


Link to post
Share on other sites
53 minutes ago, Kosta said:

Maybe you misunderstood. Maybe I am not understanding.

You are evidently not understanding. The part with the letters assigns the LETTERS to the devices which are internally and in Windows represented by NUMBERS. The purpose of the [JoyNames] section is to relate the one to the other. FSUIPC will refer to that to translate one to the other. There can be times when you might need that information too.

Why on Earth does it worry you in any case? If you want to understand I suggest you look at the Log file too, and of course read the Joy Letters section in the ser Guide! For further details you'd need to delve into the joy functions interface in Windows.

Pete

 

Share this post


Link to post
Share on other sites

Why on Earth? It worries me only because today I wanted to do a flight, just to discover right after the engine start and post all the cockpit preparation that my TQ doesn't do anything.

Took me a while to realize what the reason was, because I usually never suspect FSUIPC.

While analyzing the .ini, I noticed that JoyNames section wasn't the same as the last time I saw it. There were missing letters, and the entries with numbers were present. After adding letters again, according to my legend, all was well again.

However, it does make me wonder what the reason for this misconfiguration was, because I didn't do anything on my sim nor windows for a long time.

So, to shorten it up, all I want to know what is right for a single controller? An example:

J=VKBsim Black Box GF
J.GUID={79A34CA0-5F35-11E7-8001-444553540000}
3=VKBsim Black Box GF
3.GUID={79A34CA0-5F35-11E7-8001-444553540000}

(and yes, I wouldn't even think about posting here without reading the manual first)

Share this post


Link to post
Share on other sites
11 hours ago, Kosta said:

I noticed that JoyNames section wasn't the same as the last time I saw it. There were missing letters, and the entries with numbers were present

The information you posted showed J G R A and B, and those same letters were present afterwards, as you posted. FSUIPC does NOT remove any letter assignments. If the device mentioned isn't attached, and that letter is addressed in a used Profile, then there will be a muissing device comment attached to it.

The wrong action you did was deleting or replacing the number assignments. Those are essential, the lettering is the optional part. All you needed to do was make a complete copy of the list and there change the numbers into letters.

11 hours ago, Kosta said:

So, to shorten it up, all I want to know what is right for a single controller? An example:

J=VKBsim Black Box GF
J.GUID={79A34CA0-5F35-11E7-8001-444553540000}
3=VKBsim Black Box GF
3.GUID={79A34CA0-5F35-11E7-8001-444553540000}

Yes, that is good. It tells FSUIPC what device "J" is and allows it to associate it with the numerical ID it actually needs.

I suppose could have had a syntax something like:

J=3=VKBsim Black Box GF, {79A34CA0-5F35-11E7-8001-444553540000}

which would have been more compact, but the object was clarity, which seems to have misfired for you. Also, if the device went missing (i.e. was not attached at this time), the "3=" part would not be valid -- next time the device appeared it might have a different ID in any case, and it certainly couldn't be addressed as "3" whilst not connected.

I hope it is clearer for you by now.

Pete

 

Share this post


Link to post
Share on other sites

Yes, definitely misfired. The above line is what is definitely way more clear to me.

I understand now, and thank you very much for taking time to explain.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.