diff --git a/Hyperbar.Desktop.Contextual/ContextualCommandView.xaml.cs b/Hyperbar.Desktop.Contextual/ContextualCommandView.xaml.cs index 7f3fc5e..c2d217e 100644 --- a/Hyperbar.Desktop.Contextual/ContextualCommandView.xaml.cs +++ b/Hyperbar.Desktop.Contextual/ContextualCommandView.xaml.cs @@ -10,6 +10,6 @@ public sealed partial class ContextualCommandView : Page private void Button_Click(object sender, Microsoft.UI.Xaml.RoutedEventArgs e) { - KeyIntrop.Type((VirtualKey)186, VirtualKey.LeftWindows); + KeyInterop.Type((VirtualKey)186, VirtualKey.LeftWindows); } } diff --git a/Hyperbar.Desktop.Win32/KeyIntrop.cs b/Hyperbar.Desktop.Win32/KeyIntrop.cs index a9cc941..9969be8 100644 --- a/Hyperbar.Desktop.Win32/KeyIntrop.cs +++ b/Hyperbar.Desktop.Win32/KeyIntrop.cs @@ -7,9 +7,9 @@ using Windows.Win32.UI.KeyboardAndMouseInput; namespace Hyperbar.Desktop.Win32; -public class KeyIntrop +public class KeyInterop { - private static readonly VirtualKey[] ExtendedKeys = [ + private static readonly VirtualKey[] extendedKeys = [ VirtualKey.Menu, VirtualKey.Menu, VirtualKey.NumberKeyLock, @@ -69,7 +69,7 @@ public class KeyIntrop flags |= KEYBD_EVENT_FLAGS.KEYEVENTF_KEYUP; } - if (ExtendedKeys.Contains(key)) + if (extendedKeys.Contains(key)) { flags |= KEYBD_EVENT_FLAGS.KEYEVENTF_EXTENDEDKEY; }