News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

KeyBoard Events

Started by jsimis2, April 10, 2019, 04:49:47 AM

Previous topic - Next topic

jsimis2

So I wanted my program to see if the w key was being held and not pressed, and when it is held it would change the characters image. But I don't know how to check if it is being held. When it continuously checks it flashes between the two images. Even a link can help!

Thanks in advance!

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

jsimis2

Oh I'm sorry I clicked the wrong user forum, thanks!