From 48e3abb043c2a245bb7ccc6a93fa2a5c3473c279 Mon Sep 17 00:00:00 2001 From: DavidRGriswold Date: Mon, 11 Sep 2023 22:14:53 -0300 Subject: [PATCH] added [] pause shortcut --- .../Profiles/Default/GuideShortcutsProfile.cs | 7 +++++++ docs/shortcuts.md | 1 + docs/steam-controller.md | 13 +++++++++++++ 3 files changed, 21 insertions(+) diff --git a/SteamController/Profiles/Default/GuideShortcutsProfile.cs b/SteamController/Profiles/Default/GuideShortcutsProfile.cs index a344183..3764f32 100644 --- a/SteamController/Profiles/Default/GuideShortcutsProfile.cs +++ b/SteamController/Profiles/Default/GuideShortcutsProfile.cs @@ -109,10 +109,17 @@ namespace SteamController.Profiles.Default c.Keyboard.KeyPress(VirtualKeyCode.LWIN, VirtualKeyCode.VK_D); } + // This is "[" + "]" on a US keyboard, the default shortcut for the Game Pauser program on steam + if (c.Steam.BtnLeftStickPress.Pressed()) + { + c.Keyboard.KeyPress(new VirtualKeyCode[]{VirtualKeyCode.OEM_4,VirtualKeyCode.OEM_6}); + } + // Additional binding for tool hotkeys (Lossless Fullscreen is nice) if (c.Steam.BtnDpadUp.Pressed()) { c.Keyboard.KeyPress(new VirtualKeyCode[] { VirtualKeyCode.LCONTROL, VirtualKeyCode.LMENU }, VirtualKeyCode.VK_U); + } return true; diff --git a/docs/shortcuts.md b/docs/shortcuts.md index 1841987..825c3d9 100644 --- a/docs/shortcuts.md +++ b/docs/shortcuts.md @@ -14,6 +14,7 @@ | STEAM + A | RETURN | RETURN | RETURN | | RETURN | | STEAM + B (hold for 1s) | ALT + F4 | ALT + F4 | ALT + F4 | | ALT + F4 | | STEAM + B (hold for 3s) | Kill active process | Kill active process | Kill active process | | Kill active process | +| STEAM + Left Stick Press | [ + ] | [ + ] | [ + ] | | [ + ] | | STEAM + X | Toggle Keyboard | Toggle Keyboard | Toggle Keyboard | | Toggle Keyboard | | STEAM + L1 | Toggle Magnify | Toggle Magnify | Toggle Magnify | | Toggle Magnify | | STEAM + R1 | Screenshot | Screenshot | Screenshot | | Screenshot | diff --git a/docs/steam-controller.md b/docs/steam-controller.md index 21bf3e2..b35110e 100644 --- a/docs/steam-controller.md +++ b/docs/steam-controller.md @@ -143,6 +143,19 @@ To configure the hotkey in Lossless Scaling: 1. Verify that the hotkey was set to "CTRL + ALT + U" 1. Close the settings dialog +## 7. Pause (Almost) Any Game + +Some games to not provide a pause function. It is often possible to suspend those programs using an app such as Game Pauser by Jase (https://madebyjase.com/game-pauser/). Steam Controller has been configured with a shortcut for that application. + +To configure the program: + +1. Install and launch Game Pauser by Jase +2. Open Settings then Advanced User Customization +3. Scroll down to the Custom Pausable Applications List and add any folders you run games from to the line AdditionalPausableFilepathInclusions. For example, I added "C:\\Games" and "C:\\XboxGames" as I install games in those folders in addition to steam. +4. Under Keyboard Settings, ensure the two keycodes are 0xDB and 0xDD (this corresponds to '[' and ']') +5. Close the settings and leave the app running in the background. When it is running, "STEAM + Left Stick" should pause any running games + + ## 7. Uninstall Since `Steam Controller` changes Steam you need to follow those steps to properly uninstall the app: