Jump to content
The simFlight Network Forums

Gladiator JoystickL Can't use Hat Switch


Recommended Posts

I have tried, using the hat switch as an axis and the older button assignments method. No luck getting it to pan views. FSUIPC 6.0.8; P3D v4.5. Here is the profile for this particular aircraft (SSW F-104):

[Profile]
Created=17/05/2020 07:35:13
[Buttons]
0=P6,11,CM3:1,0     -{Macro F-104: STARTER}-
1=R4,21,C65607,0     -{ELEV_TRIM_DN}-
2=R4,19,C65615,0     -{ELEV_TRIM_UP}-
3=P6,1,C65758,0     -{FLAPS_INCR}-
4=P6,0,C65759,0     -{FLAPS_DECR}-
5=P4,6,C66879,0     -{TOGGLE_LAUNCH_BAR_SWITCH}-
6=P6,2,C65792,0     -{AUTOPILOT_ON}-
7=P6,8,C65791,0     -{AUTOPILOT_OFF}-
8=P6,3,CM3:2,0     -{Macro F-104: AUTOPILOT RIGHT }-
9=P6,9,CM3:3,0     -{Macro F-104: AUTOPILOT RIGHT}-
12=P4,20,C66277,0     -{AILERON_TRIM_RIGHT}-
15=P4,22,C66276,0     -{AILERON_TRIM_LEFT}-
16=P1,1,C65758,0     -{FLAPS_INCR}-
17=P1,0,C65759,0     -{FLAPS_DECR}-
18=P4,7,C65588,0     -{BRAKES}-
19=R6,13,C65588,0     -{BRAKES}-
20=P6,17,C65570,0     -{GEAR_TOGGLE}-
[Axes]
RangeRepeatRate=10
0=3X,256,D,7,0,0,0    -{ DIRECT: LeftBrake }-
1=3Y,256,D,8,0,0,0    -{ DIRECT: RightBrake }-
2=3Z,256,D,3,0,0,0    -{ DIRECT: Rudder }-
3=4Z,256,D,4,0,0,0    -{ DIRECT: Throttle }-
4=4S,256,D,22,0,0,0    -{ DIRECT: Spoilers }-
5=6X,256,D,1,0,0,0    -{ DIRECT: Aileron }-
6=6Y,256,D,2,0,0,0    -{ DIRECT: Elevator }-
7=6U,256,D,3,0,0,0    -{ DIRECT: Rudder }-
8=6P,0,F,66416,0,0,0    -{ TO SIM: PAN_VIEW }-
[JoystickCalibration]
AllowSuppressForPFCquad=Yes
ExcludeThrottleSet=Yes
ExcludeMixtureSet=Yes
ExcludePropPitchSet=Yes
SepRevsJetsOnly=No
ApplyHeloTrim=No
UseAxisControlsForNRZ=No
FlapsSetControl=0
FlapDetents=No
ReverserControl=66292
Reverser1Control=66422
Reverser2Control=66425
Reverser3Control=66428
Reverser4Control=66431
MaxThrottleForReverser=256
AileronTrimControl=66731
RudderTrimControl=66732
CowlFlaps1Control=66162
CowlFlaps2Control=66163
CowlFlaps3Control=66164
CowlFlaps4Control=66165
SteeringTillerControl=0
MaxSteerSpeed=60
RudderBlendLowest=1
Aileron=-16384,-512,512,16383
Elevator=-16384,-512,512,16271
Rudder=-16191,-512,512,16383
Throttle=-16384,16383
LeftBrake=-16380,16380/16
RightBrake=-16380,16380/16
Throttle1=-16384,-512,512,16383
Throttle2=-16384,-512,512,16383
Spoilers=-16384,16383

 

 

Link to comment
Share on other sites

That ini file still shows version 6008. Do you not have an updated version?

As you are using files for profiles, I need to see your SSW F-104G ini.

Could you also activate axis controls and button logging in FSUIPC, then start P3D, load your aircraft and try the hat switch. Then close down, and show me all three files (your log and the two inis).

Link to comment
Share on other sites

2 minutes ago, snp227 said:

The installer is only making changes to the V5 Add On folder. Is this normal? I have checked the v4 and v5 boxes.

If you checked both boxes, it will install one copy of FSUIPC6 for use by both P3Dv4 and P3Dv5. It will update the add-on.xml (or dll.xml file, whichever method you choose) for both.
If you want a separate installation for each P3D version, then you need to run the installer twice, and install once in P3Dv4 and a second time for P3Dv5.

Note that it is also HIGHLY RECOMMENDED to NOT install FSUIPC into the (default) add-ons folder. Please choose another location (e.g. C:\FSUIPC6 or C:\P3Dv5 Add-ons\FSUIPC6) to keep your FSUIPC installation folder separate from your xml add-ons folder.

All this is explained in the included Installation and Registration guide.

Link to comment
Share on other sites

3 minutes ago, snp227 said:

Also, none of my control assignments work. There are no longer any aircraft profiles in FSUIPC.

Then you installed into a location where an existing FSUIPC6.ini file was not found, and so a new one will be created. That is probably why the version still said 6008 in the ini you posted - thats not where you installed. And you are using separate files for profiles.

As I said, please read the provided Installation and Registration guide.

John

Link to comment
Share on other sites

I don't need the dll - I've removed that.

Looks like you didn't activate the logging that I asked for. Could you add that and re-generate your FSUIPC6.log file please.

Did you assign the pan view control to your VKBsim Gladiator? If not, it could be that your joystick ids have changed.
Before you generate the new log, change

Quote

AutoAssignLetters=No

To
    AutoAssignLetters=Yes
In your FSUIPC6.ini (before you start P3D). This will re-write your inis to use "JoyLetters" (see the FSUIPC user manuals for details on this). Then start P3D, load your aircraft, activate the required logging (Axis controls and Buttons & Switches), and then show me the 3 files again - your FSUIPC6.ini, FSUIPC6.log and SSW F-104G.ini

John

Link to comment
Share on other sites

FSUIPC is installed in my Documents folder now, apart from the add on folder.

AutoAssignLetters=Yes - DONE

Did you assign the pan view control to your VKBsim Gladiator? - YES

Could you also activate axis controls and button logging in FSUIPC, then start P3D, load your aircraft and try the hat switch - DONE

 

SSW F-104G.ini FSUIPC6.ini FSUIPC6.log

Link to comment
Share on other sites

Ok, they look better now, except for the fact that your profile ini hasn't been re-written to use the JoyLetters, which is strange.
And it looks like you didn't activate logging for Buttons & Switches, but that doesn't matter now.

Your log shows the Pan View controls being sent ok with the correct parameters:

Quote

   100828 ***  AXIS: Cntrl= 66416 (0x00010370), Param= -1 (0xffffffff) PAN_VIEW
   128265 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128296 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128328 ***  AXIS: Cntrl= 65763 (0x000100e3), Param= 0 (0x00000000) AXIS_AILERONS_SET
   128328 ***  AXIS: Cntrl= 65762 (0x000100e2), Param= 0 (0x00000000) AXIS_ELEVATOR_SET
   128328 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128359 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128390 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128421 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128453 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128468 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128500 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128531 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128562 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128593 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128625 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128656 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128671 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   128703 ***  AXIS: Cntrl= 66416 (0x00010370), Param= -1 (0xffffffff) PAN_VIEW
   131015 ***  AXIS: Cntrl= 65765 (0x000100e5), Param= -16124 (0xffffc104) AXIS_THROTTLE_SET
...
   133312 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133343 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133375 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133406 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133437 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133453 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133484 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133515 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133546 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133578 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 0 (0x00000000) PAN_VIEW
   133609 ***  AXIS: Cntrl= 66416 (0x00010370), Param= -1 (0xffffffff) PAN_VIEW
   133781 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133812 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133828 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133859 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133890 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133921 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133953 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   133984 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 270 (0x0000010e) PAN_VIEW
   134015 ***  AXIS: Cntrl= 66416 (0x00010370), Param= -1 (0xffffffff) PAN_VIEW
   134031 ***  AXIS: Cntrl= 65762 (0x000100e2), Param= -117 (0xffffff8b) AXIS_ELEVATOR_SET
   134093 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 90 (0x0000005a) PAN_VIEW
   134125 ***  AXIS: Cntrl= 66416 (0x00010370), Param= 90 (0x0000005a) PAN_VIEW
...

So your assignment is correct and the control is being sent, but I don't know why it isn't working for this aircraft.

Is it working ok for other aircraft (esp. default aircraft)? If so, I think you need to ask on the SSW forums.

Link to comment
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
×
×
  • Create New...

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.