Difference between setKeyDown and setPressed?
Posted: Sat Nov 05, 2016 5:01 am
Hi
What is the difference between this:
...this:
... and this:
Maybe the question sounds silly or very basic but I have problems with some old games (some old '90 flight sims) and I'm not sure to understand correctly the function of these senteces.
Thanks in advance
Regards
What is the difference between this:
Code: Select all
keyboard.setKeyDown(Key.Y)
keyboard.setKeyUp(Key.Y)
Code: Select all
keyboard.setPressed(Key.Y)
Code: Select all
keyboard.setPressed(Key.Y,True)
Thanks in advance
Regards