win-capture: Add game capture hotkey support

Changed the first property of game capture to be a "mode" list (with
"any fullscreen window", "specific window", and "hotkey").

When hotkey mode is set, it'll add a hotkey pair to hotkey settings to
activate/deactivate game capture.  When the hotkey to activate is
pressed, it'll treat the current foreground window as the target window
similar to "selected window" mode; it'll keep trying to capture the same
window even if the window or its application closes/reopens, and will
continue to do so until deactivated via the deactivate hotkey, or until
a new window is set via the activate hotkey.
This commit is contained in:
jp9000
2016-07-30 11:27:39 -07:00
parent 383c96744e
commit 17667b8b9d
2 changed files with 188 additions and 25 deletions

View File

@@ -12,8 +12,12 @@ Monitor="Display"
PrimaryMonitor="Primary Monitor"
GameCapture="Game Capture"
GameCapture.AnyFullscreen="Capture any fullscreen application"
GameCapture.CaptureWindow="Capture specific window"
GameCapture.UseHotkey="Capture foreground window with hotkey"
GameCapture.ForceScaling="Force Scaling"
GameCapture.ScaleRes="Scale Resolution"
GameCapture.LimitFramerate="Limit capture framerate"
GameCapture.CaptureOverlays="Capture third-party overlays (such as steam)"
GameCapture.AntiCheatHook="Use anti-cheat compatibility hook"
GameCapture.HotkeyStart="Capture foreground window"
GameCapture.HotkeyStop="Deactivate capture"