how do u make a keyevent where when the user press AND HOLDS the key on the keyboard, the line of code executes once as if he is pressing it once. The key is pressed and holded only to prevent the key up event from exececuting
Printable View
how do u make a keyevent where when the user press AND HOLDS the key on the keyboard, the line of code executes once as if he is pressing it once. The key is pressed and holded only to prevent the key up event from exececuting
Couldn't you just hold the last key in memory and then on the next key down see if it is the same key (like holding thekey down) then just don't execute the functionality again (or whatever you need to do).
Is this what you mean?