The SControlInfo structure.

The SControlInfo structure is keeping information about binding keyboard keys to navigation actions, plus mouse sensitivity information. By passing your own SControlInfo structure to COpenGL::SetControlInfo method you can customize the navigation control.

typedef struct
{
  float     MouseSensitivity[ 3 ];
  bool      PanInPixels;
  
  UINT      QuitFlyModeKey;
  UINT      ZoomOutModiferKey;

  UINT      SpeedUpModifierKey;
  UINT      SlowDownModifierKey;

  UINT      PanLeftKey;
  UINT      PanRightKey;
  UINT      PanForwardKey;
  UINT      PanBackKey;
  UINT      PanUpKey;
  UINT      PanDownKey;

  UINT      MouseBankModifier;

  UINT      YawLeftKey;
  UINT      YawRightKey;
  UINT      PitchDownKey;
  UINT      PitchUpKey;
  UINT      BankLeftKey;
  UINT      BankRightKey;
} SControlInfo;
MouseSensitivity

X, Y, Z mouse sensitivity vector. This vector is applied to rotations performed by mouse. Default value for this vector is { 1.0f, 1.0f, 1.0f }.

PanInPixels If this flag is true then keyboard pan actions are performed in screen pixels, it means that when you hit PanLeft key the object or scene is panned by one screen pixel. Otherwise the PanSpeed vector of the current SMovementInfo structure is used to do the pan.
QuitFlyModeKey

Key used to quit the IM_FLY or IM_FREE_LOOK interaction modes. Default value is VK_ESCAPE.

ZoomOutModifierKey

If this key is pressed in IM_ZOOM_WINDOW mode, zoom out is performed instead of zoom in. Default value is VK_CONTROL.

SpeedUpModifierKey

When this key is pressed the Pan and Rotate keyboard actions result in faster pan or rotate. The speed factor is given by the SpeedUpFactor of the current SMovementInfo structure . Default value is VK_RCONTROL.

SlowDownModifierKey

When this key is pressed the Pan and Rotate keyboard actions result in slower pan or rotate. The slow down factor is given by the SlowDownFactor of the current SMovementInfo structure . Default value is VK_BACK.

PanLeftKey

Pan left key. Default value is VK_LEFT.

PanRightKey

Pan right key. Default value is VK_RIGHT.

PanForwardKey

Pan forward key. DefaultValue is VK_UP.

MPanBackKey

Pan back key. DefaultValue is VK_DOWN.

PanUpKey

Pan up key. Default value is E.

PanDownKey

Pan down key. Default value is D.

MouseBankModifier

When this key is pressed, the bank rotations are performed instead of yaw rotations while rotating using mouse. Default value is VK_LCONTROL.

YawLeftKey

Yaw left key. Default value is VK_DELETE.

YawRightKey

Yaw right key. Default value is VK_NEXT.

PitchUpKey

Pitch up key. Default value is VK_HOME.

PitchDownKey

Pitch down key. Default value is VK_END.

BankLeftKey

Bank left key. Default value is VK_INSERT.

BankRightKey

Bank right key. Default value is VK_PRIOR.