User forums > Using Code::Blocks

KeyBoard Events

(1/1)

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:
Please read and follow this website rules. http://forums.codeblocks.org/index.php/topic,9996.0.html

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

Navigation

[0] Message Index

Go to full version