Thaeh
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 7685 |
|
|
| 16 Jan 2014 08:48 PM |
I don't have the script anymore, but I was coding a tool with five keypresses. For the first key I used If and for the other four I used Elseif. However, the first two keys I used printed twice despite having debounce and the fourth key didn't work at all.
I'm wondering if that's not the correct way to use the event. Should I use elseif or should I make multiple events for this to not happen? |
|
|
| Report Abuse |
|
|
drager980
|
  |
| Joined: 25 May 2009 |
| Total Posts: 13385 |
|
|
| 16 Jan 2014 08:49 PM |
| is there a wait on the debounce |
|
|
| Report Abuse |
|
|
Thaeh
|
  |
| Joined: 05 Feb 2011 |
| Total Posts: 7685 |
|
|
| 16 Jan 2014 08:52 PM |
Yes there was. 0.5 seconds.
I'm sorry that I can't provide the script, but it had nothing more than print for each key. This whole bug thing made me scrap it. |
|
|
| Report Abuse |
|
|