This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Trigger an event when button is pressed down but not released
#2
Depends on how your button is configured. Most physical button inputs have rising (on) and falling (off) edge detection. You can set a fixed value to both actions, so in your script you can use event.getvalue() to figure out if button is pressed or released.
Reply


Messages In This Thread
RE: Trigger an event when button is pressed down but not released - by admin - 05.02.2016, 17:56

Forum Jump: