Hi ames Macomber,
Welcome to Microsoft Community.
It's a very strange question indeed. I've noticed that you've tried a variety of methods.
I think you are right to try to capture the keyboard keys to confirm which process is sending the key commands.
Unfortunately, Windows 11 doesn't have its own Settings to do this, so you'll need some advanced method like python or VB.
Since the methods above are beyond the scope of Microsoft community support, I'll direct you to Microsoft Learn (English only), which aims to support more advanced users like you.
Here is a link to the forum where you can raise specific scenarios and share your idea to help solve the problem.
I won't be able to help you, but I'll leave that question open in case one of our amazing volunteers has ideas for you.
Thank you for your understanding and patience!
Best Regards,
Manson - MSFT | Microsoft Community Support Specialist