From 50f7c777b308635588f5e074e74eef38ce78f42c Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Thu, 15 May 2025 07:45:25 +0200 Subject: [PATCH] Switch end for scroll lock --- DD2Switcher/Program.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DD2Switcher/Program.cs b/DD2Switcher/Program.cs index 7b8a5c7..38d90ff 100644 --- a/DD2Switcher/Program.cs +++ b/DD2Switcher/Program.cs @@ -217,7 +217,7 @@ internal static class Program { } long delLast = 0; - HotKeyManager.RegisterHotKey(Keys.End, KeyModifiers.NoRepeat); + HotKeyManager.RegisterHotKey(Keys.Scroll, KeyModifiers.NoRepeat); // Register main number keys (0-9) for (int i = 0; i < 10; i++) HotKeyManager.RegisterHotKey(Keys.D0 + i, KeyModifiers.Alt); @@ -236,7 +236,7 @@ internal static class Program { } long now = DateTimeOffset.UtcNow.ToUnixTimeSeconds(); - if (e.Key == Keys.End) + if (e.Key == Keys.Scroll) delLast = now; int index;