Adamski wrote:Well ... I think I finally sorted it. ..... The only problem is that sometimes FSUIPC seems to "forget" the axis assignments.
Joynames mate, Joynames - assuming you're not into it already
The problem is almost certainly that windows is renumbering the usb devices for some reason and as the axis assignments are tied to the USB device numbers that screws everything up quite comprehensively.
Start FSX then open your fsuipc.ini file (it's in the fsx/modules directory) and scroll down until you see the [joynames] section.
It will look something like this depending on what you have plugged in at the time :
- Code: Select all
[JoyNames]
AutoAssignLetters=No
1=CH PRO PEDALS USB
1.GUID={8FE09A90-6A00-11DF-8004-444553540000}
0=SideWinder Force Feedback 2 Joystick
0.GUID={8FD46590-6A00-11DF-8001-444553540000}
2=CH FLIGHT SIM YOKE USB
2.GUID={8FE09A90-6A00-11DF-8005-444553540000}
Make sure autoassignletters = no, then copy and paste the entire section under itself so it looks like this :
- Code: Select all
[JoyNames]
AutoAssignLetters=No
1=CH PRO PEDALS USB
1.GUID={8FE09A90-6A00-11DF-8004-444553540000}
0=SideWinder Force Feedback 2 Joystick
0.GUID={8FD46590-6A00-11DF-8001-444553540000}
2=CH FLIGHT SIM YOKE USB
2.GUID={8FE09A90-6A00-11DF-8005-444553540000}
1=CH PRO PEDALS USB
1.GUID={8FE09A90-6A00-11DF-8004-444553540000}
0=SideWinder Force Feedback 2 Joystick
0.GUID={8FD46590-6A00-11DF-8001-444553540000}
2=CH FLIGHT SIM YOKE USB
2.GUID={8FE09A90-6A00-11DF-8005-444553540000}
Then go through and for the top set of controller lines change the device number to a logical letter (e.g. Y for Yoke, P for pedals, etc) so it looks like this :
- Code: Select all
[JoyNames]
AutoAssignLetters=No
Y=CH FLIGHT SIM YOKE USB
Y.GUID={8FE09A90-6A00-11DF-8005-444553540000}
P=CH PRO PEDALS USB
P.GUID={8FE09A90-6A00-11DF-8004-444553540000}
J=SideWinder Force Feedback 2 Joystick
J.GUID={8FD46590-6A00-11DF-8001-444553540000}
1=CH PRO PEDALS USB
1.GUID={8FE09A90-6A00-11DF-8004-444553540000}
0=SideWinder Force Feedback 2 Joystick
0.GUID={8FD46590-6A00-11DF-8001-444553540000}
2=CH FLIGHT SIM YOKE USB
2.GUID={8FE09A90-6A00-11DF-8005-444553540000}
Now close and save the .ini file and restart FSX, open FSUIPC and start to assign a button on your yoke. You should get the controller *letter* not the controller *number* appear as the device. If you did it has all worked so far, so open the fsuipc.ini file again and have a look at the [Axes] section of the file which will hopefully look something like this :
- Code: Select all
[Axes]
0=JS,256,D,4,0,0,0
1=PX,2292,D,7,0,0,0
2=PY,2796,D,8,0,0,0
3=PZ,1806,D,3,0,0,0
4=YX,256,D,1,0,0,0
5=YY,256,D,2,0,0,0
6=YZ,520,D,4,0,0,0
7=YU,256,D,6,0,0,0
8=YV,384,D,5,0,0,0
If it does look like that FSUIPC has automagically remapped the axis assignments to the GUIDs instead of the USB device numbers for you. Now it doesn't matter when windows renumbers the controllers because the GUIDs never change and each controller will always get the correct assignments. If the .ini file still uses numbers (e.g. "4=2X" not "4=YX") but fsuipc showed you a device letter not a dvice number when you assigned a button then it has still worked but you need to manually change the axis assignments to their letters, and if you still got a device number when you tried to assign a button it didn't work at all and we'll move onto the next step.
If you had to manually change anything in the file remember to save it then restart FSX to load the new .ini file. I'm pretty sure just reselecting the current aircraft will reload the .ini file, but I always restart to make sure.
Let us know how you get on
Gary
The above post is in the public domain and is guaranteed by the manufacturer to contain no references to anything illegal or discussion of piracy, although this signature may contain traces of nuts.