Conversation
YoshiRulz
reviewed
Sep 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is my very first pull request on GitHub ever. I apologize if I didn't respect an etiquette or did this incorrectly.
Goal
Make IPC inputs function even when EmuHawk doesn't have focus, without requiring setting the 'listen to input even when in background' setting.
I made this originally for a custom "TwitchPlays" plugin. What I needed was for EmuHawk to listen to input from another process running, while in the background, and not listening to keyboard inputs (keyboard was being used by the streamer during the live).
How
I added a new HostInputType for IPC, and separated the way these inputs are processed from regular keyboard controls.
Potential issues
My main doubt is in
Input.cs ShouldSwallow(), where I made IPC being swallowed under NO circumstances.I wasn't sure wether to
or, what I did
No AI
No AI tools have been used for this (plus it's pretty simple)I hope this'll come in handy!
Thank you so much for your work and have a nice day!