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.

Dark GDK / clear key buffer?

Author
Message
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 3rd Aug 2007 18:52 Edited at: 3rd Aug 2007 20:04
I as hopping the dbClearEntryBuffer(); would clear the user input of the dbInKey I guess I was wrong. Is there a function to kill all keys after the first?

I effectually want to do an action once the key is release, and not catch all the cycles the key made.

I tried



but the keys is still in the buffer. I guess dbkay just pop the first key off the buffer?
unitech
17
Years of Service
User Offline
Joined: 27th Jun 2007
Location:
Posted: 3rd Aug 2007 20:21
looks like dbScanCode(), doesn't have a buffer like that. So it works better.

Login to post a reply

Server time is: 2024-11-19 15:19:57
Your offset time is: 2024-11-19 15:19:57