mirror of
https://github.com/ayufan/steam-deck-tools.git
synced 2026-04-05 06:15:26 +00:00
SteamController: Allow to EnableDS4Support=false
This commit is contained in:
parent
af6cee0bff
commit
eb774e11fa
7 changed files with 26 additions and 10 deletions
|
|
@ -16,9 +16,15 @@ namespace SteamController.Profiles.Predefined
|
|||
}
|
||||
}
|
||||
|
||||
public override bool Visible
|
||||
{
|
||||
get => Settings.Default.EnableDS4Support && base.Visible;
|
||||
set => base.Visible = value;
|
||||
}
|
||||
|
||||
public override bool Selected(Context context)
|
||||
{
|
||||
return context.Enabled && context.DS4.Valid && context.KeyboardMouseValid && !context.State.SteamUsesSteamInput;
|
||||
return Settings.Default.EnableDS4Support && context.Enabled && context.DS4.Valid && context.KeyboardMouseValid && !context.State.SteamUsesSteamInput;
|
||||
}
|
||||
|
||||
internal override ProfilesSettings.BackPanelSettings BackPanelSettings
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue