mgba-emu / mgba

mGBA Game Boy Advance Emulator
https://mgba.io/
Mozilla Public License 2.0
5.72k stars 790 forks source link

[Feature Request] Option to accept keyboard inputs when window is not in focus #3216

Closed sebmal1337 closed 5 months ago

sebmal1337 commented 5 months ago

Hi! Love the emulator and I was wondering if it'd be possible to have an option to have it recognize keyboard inputs when the window isn't in focus (Bizhawk has this as a checkbox, for example). Currently it does this for controller inputs which is great, but I'm using mGBA for a dumb stream gimmick where I need it to hit the load state key right after opening, and every so often for seemingly no reason the window doesn't properly stay in focus and it throws the whole thing off. Extremely niche use case so probably low priority I know lol, but it'd be a ton of help for me if the emulator supported this! Thanks!

endrift commented 5 months ago

Duplicate of #1378

Unfortunately I'm not really sure if it's possible with the toolkit I'm using for keyboard input.