Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] Key Press

Author
Message
luskos
16
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 15th May 2010 04:22 Edited at: 15th May 2010 20:08
This peace of code can be useful for finding when key press is pressent and it can easy be connected with the keystate which produces it.I`m not sure what is maximum scancode value so i just leave the array 255 positions long.

Very usefull for writing to avoid thissssssssssssssssssssssssssssss,
or just to be sure that something called with keystate command will
run once until next key press and not 1000 times instead.



Where there is a will, there is a way.
I often edit my posts, that`s who i am
Daygamer
14
Years of Service
User Offline
Joined: 16th Mar 2010
Location: United States
Posted: 30th May 2010 18:06
very cool like usual. Love your posts, luskos

Have a nice day, God Bless You!

Login to post a reply

Server time is: 2024-04-16 13:47:40
Your offset time is: 2024-04-16 13:47:40