Hello

I'm currently in the process of creating a mod which tracks movements via a webcam and then translates these movements into keystrokes. But I have encountered an annoying problem. Whenever I try to feed the keystrokes into a game, my input is blocked because the input is channeled through the C++ program I have written, instead of being direct keyboard input.

Does anybody have any suggestions as to how the blocking can be overridden?

Is the problem that your application has the input focus and is getting all of the keystrokes instead of the game?

Can your application run while minimized?
This would remove the input focus from your application and return it to the game.

Alternatively, could your application just send the keys typed as well as the ones generated by movements on the webcam?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.