VideoConfig/LocalConfig/HotkeyManager: Added hotkeys for switching stereo-3d presets.

Added 3 depth/convergence presets. They are adjustable via (existing) hotkeys - changes to depth and convergence are applied to current preset.
Added 3 hotkeys for activating presets. Added hotkey for toggle between first and second preset.
Added OSD message for convergence/depth changes.
Presets are saved into per-game configs.
This commit is contained in:
ghost
2015-09-22 05:28:26 +03:00
parent 07e4b4f7c4
commit 7c1565b201
5 changed files with 90 additions and 4 deletions

View File

@ -116,6 +116,12 @@ const std::string hotkey_labels[] =
_trans("Undo Save State"),
_trans("Save State"),
_trans("Load State"),
_trans("Toggle 3D Preset"),
_trans("Use 3D Preset 1"),
_trans("Use 3D Preset 2"),
_trans("Use 3D Preset 3"),
};
static_assert(NUM_HOTKEYS == sizeof(hotkey_labels) / sizeof(hotkey_labels[0]), "Wrong count of hotkey_labels");