Hi all,
If I move my view with the numberpad in the 2D cockpit view, I can capture which view is being used with something like this:
However, when I look around with the hat switch on my joystick, that code is not triggered. I can set the hat switch to send those keys with FSUIPC, but then the panning functions in other views are messed up... Is there a way to either capture the joystick button press in an XML gauge, or some way to get FS or another gauge to tell me the view direction in use?
Thanks,
Geoff
If I move my view with the numberpad in the 2D cockpit view, I can capture which view is being used with something like this:
Code:
<Keys>
<On Event="VIEW_RESET">1 (>L:FrontView, number)</On>
<On Event="VIEW_FORWARD">1 (>L:FrontView, number)</On>
<On Event="VIEW_WINDOW_TO_FRONT">1 (>L:FrontView, number)</On>
<On Event="VIEW_FORWARD_RIGHT">1 (>L:FrontRightView, number)</On>
<On Event="VIEW_RIGHT">1 (>L:RightView, number)</On>
<On Event="VIEW_REAR_RIGHT">1 (>L:RearRightView, number)</On>
<On Event="VIEW_REAR">1 (>L:RearView, number)</On>
<On Event="VIEW_REAR_LEFT">1 (>L:RearLeftView, number)</On>
<On Event="VIEW_LEFT">1 (>L:LeftView, number)</On>
<On Event="VIEW_FORWARD_LEFT">1 (>L:FrontLeftView, number)</On>
<On Event="VIEW_FORWARD_UP">1 (>L:FrontUpView, number)</On>
</Keys>
However, when I look around with the hat switch on my joystick, that code is not triggered. I can set the hat switch to send those keys with FSUIPC, but then the panning functions in other views are messed up... Is there a way to either capture the joystick button press in an XML gauge, or some way to get FS or another gauge to tell me the view direction in use?
Thanks,
Geoff

