-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Add delay option to KMT_DRAG and KMT_STEER_WHEEL after first click on center #352
Comments
I know that the delay is necessary because i have tested it with xbindkeys for moving the mouse and clicking on the analog stick. |
What delay do you mean exactly? a. what are you doing exactly (yourself) before the delay shall be happening If I understand this, I can identify the area in the source code where this would have to be added, and can help Barry out on this one. |
Hi, Yamakuzure, what a great person you are! Sorry for taking too much time to answer you, I have been too busy (working full time). The delay I want works this way:
If the delay time were adjustable, would be perfect. If not, tell me where to adjust it and I might try to configure it on my way. This delay is based on the FPS of the games (usually 30 FPS). I think using milliseconds units is perfect. I am asking for it being adjustable cos I'm not sure how much delay I have put on it for making Free Fire to work; I suppose 500 milliseconds, but not sure. |
@renanwp2 : Could you please have a look at this answer in #353 and check whether @Bren1n-SCP means (roughly) the same as you do? Both sound quite identical for me, but if there is a difference, I'd like to know about it before I meddle with the code. 😉 |
Hi, again, Yamakuzure! Yes, it looks the same issue as mine ! |
Ah, do not consider a key as new, if another one (among WASD keys) is already pressed. For example, if you are holding W and then you press D without releasing W , do not consider the D key as a new key pressed. I am not sure, but that might cause problems due to the excessive amount of clicks on center. |
同样遇到这个问题,使命召唤会突然卡住,试过TCGAMES也一样 |
v1.7.0 Added delay function, you can try it |
Tested. Looks fine. The files I used to test it are uploaded on my repository. To test it, just git clone my repo. |
Some games requires some delay after clicking the first time on the screen to make the command to work, like Free Fire. A delay of 1/30 secs would be enough for sure, but I would ask, if possible, to let the user configure the delay time.
The text was updated successfully, but these errors were encountered: