[Quick Accent]Increase default input delay to 300ms (#22680)

* [Quick Accent] change default input delay and default activation key

* [Quick Accent] use default activation key 'Both' as before

* [Quick Accent] use PowerAccentSettings.DefaultInputTimeMs

* [Quick Accent] add more comments
This commit is contained in:
Taras
2022-12-13 19:15:56 +02:00
committed by GitHub
parent ba0d41f743
commit f987a48b3a
5 changed files with 5 additions and 4 deletions

View File

@@ -134,7 +134,7 @@ public class SettingsService
}
}
private int _inputTime = 200;
private int _inputTime = PowerAccentSettings.DefaultInputTimeMs;
public int InputTime
{

View File

@@ -16,7 +16,7 @@ namespace winrt::PowerToys::PowerAccentKeyboardService::implementation
struct PowerAccentSettings
{
PowerAccentActivationKey activationKey{ PowerAccentActivationKey::Both };
std::chrono::milliseconds inputTime{ 200 };
std::chrono::milliseconds inputTime{ 300 }; // Should match with UI.Library.PowerAccentSettings.DefaultInputTimeMs
std::vector<std::wstring> excludedApps;
};