From 786fb91314d5a29ce1672c6fddc04cdd2b47d610 Mon Sep 17 00:00:00 2001 From: zhaochaohui <1019398528@qq.com> Date: Sun, 7 Dec 2025 22:01:27 +0800 Subject: [PATCH] Fix incorrect registry path of StylusLogic (#11239) --- .../System/Windows/Input/Stylus/Common/StylusLogic.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Common/StylusLogic.cs b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Common/StylusLogic.cs index 054bfa4bb7b..5b6c07a0dfa 100644 --- a/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Common/StylusLogic.cs +++ b/src/Microsoft.DotNet.Wpf/src/PresentationCore/System/Windows/Input/Stylus/Common/StylusLogic.cs @@ -76,12 +76,12 @@ internal enum FlickScrollDirection /// /// The event parameters for WISP pen input /// - private const string WispPenSystemEventParametersKey = WispRootKey + @"Software\Microsoft\Wisp\Pen\SysEventParameters"; + private const string WispPenSystemEventParametersKey = WispRootKey + @"Pen\SysEventParameters"; /// /// The WISP touch paramaters /// - private const string WispTouchConfigKey = WispRootKey + @"Software\Microsoft\Wisp\Touch"; + private const string WispTouchConfigKey = WispRootKey + @"Touch"; /// /// The max distance a double tap can vary