I’m writing a frontend for Mupen64Plus in C#. I want to catch all key events so I can forward them to the emulator’s core.
This works for almost everything, except Enter (Return) and Space. This is because they trigger focus changes and activation.
How do I disable focusing and default activation for an entire window?