I believe I know the game you are working with and I had the same problem. I found a solution using Microsofts DDK(Driver Development Kit). I used the sample code referred from here. This creates a simulated USB HUB and Keyboard. Then I added a little bit of code to make the sample work like a proxy keyboard driver. Now I send all my keystrokes to the proxy keyboard app which sends then to the target destination. I'm not a not the best coder and this was relatively easy. It was the research that took the most time. Hope that helps.