阅读背景:

如何在按键时保持C ++循环运行,但每次升空都要打破它

来源:互联网 

I have a C++ program that im writing for one of my games that just moves the mouse down when i press mouse1. It's an external anti-recoil function that moves the mouse down in a pattern. What I'm trying to accomplish is have a while loop constantly running, checking for the state of the key press to see if mouse1 was pressed. Once it's pressed. I have code that i want to execute UNTIL mouse1 is released. Any help would be much appreciated. the function that i have now isI have a C++ program that im writing for one of




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: