Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Camera Control via Keyboard or Icons

Featured Replies

  • Moderator

Recently I was asked if it would be possible to create an Icon to display the overhead in the CS777. Since the overhead in that aircraft is a custom camera view in the virtual cockpit, there is no "ident" number like there is with 2d popup panels.

 

The answer to the question is buried in the fine print of the SDK as usual...

 

...there is a hint with this completely undocumented command: VIEW_CAMERA_SELECT_START

 

This command is used in conjunction with an entry the user can make in the Camera definition in the aircraft.cfg file. This parameter is:

 

HotKeySelect=n (where n may be 0, 5, 6, 7, 8, 9)
  • Camera 1 is assigned to Virtual Cockpit (F9)
  • Camera 2 is assigned to 2d Cockpit (F10)
  • Camera 3 is assigned to Spot View, Locked (F11)
  • Camera 4 is assigned to Top Down (F12)
For example, I've added this to my C310R's aircraft.cfg file:

[CameraDefinition.003]
Title = "Lower Panel"
Guid = {D95E57AC-1EF3-442e-901D-8C7168F4DA9D}
Description = Virtual Cockpit Lower Panel
Origin = Virtual Cockpit
Category = Cockpit
HotKeySelect=5
... etc.
I have assigned "Shift+F12" to control Camera 5 in the Control Assignment dialog. Now, pressing Shift-F12 on the keyboard will instantly select "Virtual Cockpit Lower Panel". Pressing F9 will instantly return me to the "Virtual Cockpit" camera.

 

Now while I did not need to assign a key-combo in the Control Assignment dialog, I just wanted to try it out. For the purposes of the OP however, what is important is that the following should now work either through a C or XML gauge:

 

(>K:VIEW_CAMERA_SELECT_5)
similarly, this should return one to the Virtual Cockpit camera:

 

(>K:VIEW_CAMERA_SELECT_1)
-or- 
(>K:VIEW_VIRTUAL_COCKPIT_FORWARD)
This will also work for C gauges using the equivalent command:

 

KEY_VIEW_CAMERA_SELECT_5
KEY_VIEW_CAMERA_SELECT_1 
-or- 
KEY_VIEW_VIRTUAL_COCKPIT_FORWARD
Those View Selects can also be assigned via FSUIPC as well as they are standard offsets 66851 - 66860. See pages 6 & 7 of the "List of FSX Controls.pdf" that is supplied as part of the FSUIPC4 documentation.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • 4 months later...
  • Author
  • Moderator

You are most welcome! I noticed your contribution in the SOH thread.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.