943,600 Members | Top Members by Rank

Ad:
Nov 25th, 2008
0

Keystroke block override?

Expand Post »
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?
Reputation Points: 10
Solved Threads: 0
Newbie Poster
Shadedsoul is offline Offline
1 posts
since Nov 2008
Nov 25th, 2008
0

Re: Keystroke block override?

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?
Reputation Points: 344
Solved Threads: 116
Practically a Master Poster
Murtan is offline Offline
670 posts
since May 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Game Development Forum Timeline: letterlasso game
Next Thread in Game Development Forum Timeline: creating mobile game(willing to pay)





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC