I'm currently working on a project that would display what keys are being pressed and which are not.
However for it to work how I want it to, I need to have the program function and accept input when it's not the active window.
Here's the basic idea: When I'm streaming my Team Fortress 2 gameplay, I want to be able to overlay the movement keys on my stream in real time. So I hold W down and it lights up on the screen, release and it sets opacity to around 20. I have everything set to do this when the program is active, but if I alt-tab to the game the program stops taking input.
So the question I have is this: Is it possible to make the program accept input even if I'm in another game? And if so, what do I need to do to make it work as intended?