Requirements:
Access to usb port scan code gun scan code in the program content (not shown)
The keyboard hook, currently used to monitor the keyboard keys
This all can, as long as is a debug mode can focus in the absence of circumstances get
But found a problem, if the other interface external program code has a focus on the content and output to the focus position, the effect is not ideal
Don't let external focus output code content, how to do ah
Give advice or comments please!
CodePudding user response:
I remember that hooks into global hooks and local hooks,
As long as the set (0/1) the value of the hook main function good, you give it a try
CodePudding user response: