RSS Forums RSS

Keystroke block override?

Please support our Game Development advertiser: Programming Forums
Reply
Posts: 1
Reputation: Shadedsoul is an unknown quantity at this point 
Solved Threads: 0
Shadedsoul Shadedsoul is offline Offline
Newbie Poster

Keystroke block override?

  #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?
AddThis Social Bookmark Button
Reply With Quote  
Posts: 524
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: 78
Murtan Murtan is offline Offline
Posting Pro

Re: Keystroke block override?

  #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  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Other Threads in the Game Development Forum
Views: 463 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 2:22 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC