mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-18 12:43:52 +00:00
Detect SAS (Secure Attention Sequence) in a way that does not prevent screen sleep
This commit is contained in:
parent
2db4dcf5ae
commit
fec7e87c21
7 changed files with 26 additions and 39 deletions
|
|
@ -28,7 +28,8 @@ namespace SteamController
|
|||
new Managers.SteamManager(),
|
||||
new Managers.ProfileSwitcher(),
|
||||
new Managers.SteamConfigsManager(),
|
||||
new Managers.SharedDataManager()
|
||||
new Managers.SharedDataManager(),
|
||||
new Managers.SASManager()
|
||||
}
|
||||
};
|
||||
|
||||
|
|
@ -141,7 +142,7 @@ namespace SteamController
|
|||
|
||||
var isDesktop = context.CurrentProfile?.IsDesktop ?? false;
|
||||
|
||||
if (!context.Mouse.Valid)
|
||||
if (!context.KeyboardMouseValid)
|
||||
{
|
||||
notifyIcon.Text = TitleWithVersion + ". Cannot send input.";
|
||||
notifyIcon.Icon = Resources.microsoft_xbox_controller_off_red;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue