| | |
Keystroke block override?
Please support our Game Development advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Nov 2008
Posts: 1
Reputation:
Solved Threads: 0
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?
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?
•
•
Join Date: May 2008
Posts: 640
Reputation:
Solved Threads: 104
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?
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?
![]() |
Other Threads in the Game Development Forum
- Previous Thread: letterlasso game
- Next Thread: creating mobile game(willing to pay)
Views: 570 | Replies: 1
| Thread Tools | Search this Thread |
Tag cloud for Game Development
3d advertising ai algorithm ban c++ cambridge camera censorship china competition console development engine fov fpx game gamedevelopment gameprogramming gamer games gaming gauntanamo government graphics idaho in-gameadvertisement intel intellectualproperty l-systems laracroft larrabee lindenmayer live manhunt math mathematics matrix mercenaries microsoft mmorpg modded modern-warfare msn multicore naked news nintendo obama opengl palin physics pirate playstation politics processor projection ps3 rpg search selection software sony spooks spy stephenhawking stocks studio technology terrorism tombraider uk videogame web wii world-of-warcraft xbox xbox-live xbox360





