Yes, I have tried following these answers: Global keyboard capture in C# application.
But after implementing every solution, when I press a key, it lags by about 0.5 seconds and the event handler does not seem to invoke. So I am asking this question again. How can I capture global key up/down events in .NET Core and Windows 11? I am collecting my personal keystrokes for my own use, not some dodgy app or something.
Or, can anyone validate that the solutions in the linked question still work for Windows 11 and thus, maybe I implemented them incorrectly?