Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: jsimis2 on April 10, 2019, 04:49:47 am

Title: KeyBoard Events
Post by: jsimis2 on April 10, 2019, 04:49:47 am
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!
Title: Re: KeyBoard Events
Post by: stahta01 on April 10, 2019, 05:51:26 am
Please read and follow this website rules. http://forums.codeblocks.org/index.php/topic,9996.0.html (http://forums.codeblocks.org/index.php/topic,9996.0.html)
Title: Re: KeyBoard Events
Post by: jsimis2 on April 11, 2019, 04:01:36 am
Oh I'm sorry I clicked the wrong user forum, thanks!