05-12-2005 02:27 PM
05-12-2005 02:34 PM
05-12-2005 02:55 PM
05-12-2005 03:02 PM
05-12-2005 04:13 PM
05-12-2005 04:48 PM
05-12-2005 08:43 PM
01-13-2025 10:52 AM
I found this 19 years after you posted it. It's great, I was looking for a way to do this.
01-13-2025 06:40 PM
@rpursley8 wrote:
As per the email you sent, the mechanical action of the when when set to "switched until released' causes the event to execute twice. To fix this, I set the mechanical action to 'switched when pressed' and then changed the value back to reset the button without triggering another event. Maybe if the even was changed to 'Mouse Down' or 'Mouse Up' the double execution wouldn't happen.
As for why it works, as you mentioned the events are queued. I found it out modifying an existing program that I didn't want to have to rewrite.
"Switched when released" is more appropriate. This is how buttons usually work in Windows.