Jump to content
The simFlight Network Forums

How to program 'hat switch' in FSUIPC to control Virtual Cockpit Views

Recommended Posts

After loss of control problems, I downloaded and registered  FSUIPC ver 4.934.  I found lots of info on how to program the flight controls, which I accomplished without issues..  However, I have not been able to find any info on programming the hat switch to change views in the Virtual Cockpit.  I am using a CH USB flight Sim Yoke.  I would like to uncheck the FSX  'enable controls' button and only use FSUIPC, but this disables the hat switch. Any info on how to program the USB yokes 8 position hat switch to allow view control would be appreciated.




Link to comment
Share on other sites

  • 2 years later...

I use the "HotKeySelect=x" statements appended to the Aircraft.cfg file "[CameraDefinition.00Y]"

entries for the VC views I want to access with a flick of the thumb on the 2nd hat switch of

my X-45 stick. Once you add those HotKeySelect statements with "X" = 4,5, 6, 7, 8 or 9

you then go to the Controls Menu, Buttons / Keys and select the Event Category "Views"

Near the bottom of that list you will see several "View camera X (select)" entries. Highlight

the one where X matches your HotKeYSelect number and select "New Assignment"

Activate the hat switch you want to use for that view.

I assign my 'left' switch to the default VC view F9 key. Right switch to the Co-pilot

if there is one.


Example of the HotKey entry:

Title = "Co-Pilot"
Guid = {8ff6c134-098d-409f-baec-caba3f683f98}
Origin = Virtual Cockpit
MomentumEffect = YES
SnapPbhAdjust = Swivel
SnapPbhReturn = False
PanPbhAdjust = Swivel
PanPbhReturn = False
Track = None
ShowAxis = FALSE
AllowZoom = TRUE
InitialZoom = 0.7         //0.4
SmoothZoomTime = 2.0
ZoomPanScalar = 1.0
ShowWeather = Yes
XyzAdjust = TRUE
Category = Cockpit
InitialXyz=0.90, 0.0, 0.0
InitialPbh=20, 0, 0
HotKeySelect=5    <========================


  • Upvote 1
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.