Closed nickplj12 closed 3 years ago
Windows 10 x86_64
As you are using another module (import pydirectinput) it looks to me like this isn't directly related to PyAutoGUI and you'd do better to go to the repo for that module or Google it.
However if pydirectinput works like PtAutoGUI's own press function then it's expected that it will be pressing them one at a time because the press corresponds to a key up then a key down, so your code effectively let's go of the first key then moves on to the next.
If you want multiple keys at once you need to send the key downs all together and then the key ups all together (for the keys you want pressed at the same time at least)
@nickpythonluajava I saw you'd also posted this in PyDirectInput:
https://github.com/learncodebygaming/pydirectinput/issues/23
So ideally you should:
Hope the original advice above was useful, I'm pretty sure that the order is your problem.
Anyway, it's always good to close issues when you can or they've been opened in the wrong place. And writing up a line or two so others benefit from what you found is helpful to the wider community
I'm trying to make a bot for the Roblox game Funky Friday. It's a rhythm game based off Friday Night Funkin.
It's not registering all notes, only pressing one note at a time. Here is my code: