Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Time a key is pressed
#1
Is there a way to determine how long a keyboard key (or keyboard sequence such as shift-alt-p) has been pressed? I would like to kick off a function based on how long the key (or key sequence) is pressed. For example, I could detect morse code with a particular key (short press = dot, long press=dash).


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)