Thanks for the detailed update. This new information is helpful and changes the likely issue.
Based from what you share, the facts are:
- Windows key + D on Notepad takes you to the home screen (which is what Win+D should do).
- Pressing just the Windows key alone on Notepad acts like pressing Tab (selects but doesn't open).
- The problem happens more often when you're holding W (for walking) and then left clicking in game.
This strongly suggests that the issue is not a faulty Windows Key getting stuck.
The Windows key acting like Tab is also very unusual and points towards a specific software interpretation of your keyboard input or could be a keyboard malfunction.
Let's reassess based on this new information. The primary suspect now changes to a software conflict or could be keyboard driver/firmware issue that's misinterpreting key combinations.
To eliminate the keyboard issue let's test with a different keyboard. This is important.
If you have any other keyboard available (even a generic one) plug it in and disconnect your current keyboard.
Test during game , holding W and left-clicking. Also, please test the Windows key in Notepad same as what you did prior.
Result A: Problem stops. This definitively tells you the problem is with your current keyboard hardware, its specific drivers, or its associated software/firmware.
Result B: Problem persists. This means the issue is more likely with your Windows installation, other background software, or the mouse, but the keyboard is less likely the primary cause of the issue.
Before we move to more complicated troubleshooting steps, my strongest recommendation is to get your hands on a different keyboard for testing. This will instantly tell us if your current keyboard is the culprit. If it is, then diving into its specific software and firmware updates will be our next step.