That would be possible. Basically, start 2 event listeners - as you've most likely done already - and get the first one to set a variable stating the current time in milliseconds / seconds. On the second event, compare the difference between the current time and the last time recorded, and if it's less than half a second or so, you have your new "event".
|