Adrian Hudson
Member
How would I detect if a user has pressed (and held for a few moments) two buttons. I really can't think of a reliable way.
Additionally, what's the most reliable way to detect if a button has been held down for, say, 2 seconds. Of course, you could detect the beginning of the press, pause 2 seconds and see if the button is still down, but what's to say the user hasn't briefly released and pressed the button again? I would not want this to be considered a two second push.
Thanks!
Additionally, what's the most reliable way to detect if a button has been held down for, say, 2 seconds. Of course, you could detect the beginning of the press, pause 2 seconds and see if the button is still down, but what's to say the user hasn't briefly released and pressed the button again? I would not want this to be considered a two second push.
Thanks!