Keystroke block override?

Please support our Game Development advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Nov 2008
Posts: 1
Reputation: Shadedsoul is an unknown quantity at this point 
Solved Threads: 0
Shadedsoul Shadedsoul is offline Offline
Newbie Poster

Keystroke block override?

 
0
  #1
Nov 25th, 2008
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?
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 640
Reputation: Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough Murtan is a jewel in the rough 
Solved Threads: 104
Murtan Murtan is offline Offline
Practically a Master Poster

Re: Keystroke block override?

 
0
  #2
Nov 25th, 2008
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?
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the Game Development Forum


Views: 570 | Replies: 1
Thread Tools Search this Thread



Tag cloud for Game Development
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC