RealKeyDown
RealKeyDown
Hi there,
I'm only in my second year at college for computer science, and I also have just started using jQuery.
I was curious if there was a method to make keyDown execute on press and immediately following, instead of having a delay. Similar to window's library's GetKeyboardState.
I realize there is obviously many ways I can work around the various problems I will run into with a keydown delay. However if there was a function that would just make it work, I thought I would ask.
Just in case I have not described the delay well. I mean the delay that exists naturally on a computer so a single key press is not received as two. Like when I type ppppppppppppppp there is roughly a 500ms delay between the first and second character and 30-50ms between characters after that. Easily testable on the jQuery demo on keydown.