Keystroke block override?
Please support our Game Development advertiser: Programming Forums
![]() |
•
•
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?
•
•
Posts: 524
Reputation:
Solved Threads: 78
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: 463 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode