Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

twin (double) event problem?

If you have a question or need help, this is the place to be.
Post Reply
kalabajster
Posts: 3
Joined: Sat Jun 27, 2009 3:26 pm

twin (double) event problem?

Post by kalabajster »

i have asus ir reciever and HID plugin working. every button i press generates two same events (twins). one when i press the button and another when i release it. so, if i want to start app, i start two of them at one press at the button. is there any way to disregard one of them or to block EG to recieve another event for some time (eg. 100ms). I believe girder have 'Anti repeat wait time' or something. Is there something simmiliar for EG?

im sorry if i repeat question, but i couldnt find anything with search...


thanks
User avatar
topix
Experienced User
Posts: 441
Joined: Sat May 05, 2007 3:43 pm
Location: Germany
Contact:

Re: twin (double) event problem?

Post by topix »

You could try the action 'Stop processing this event' or 'Clear Pending Events'. The description of these actions look like they are right for you.
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: twin (double) event problem?

Post by jinxdone »

Like topix already pointed out, It might work if you simply use the "Clear pending events" action. You should trigger it with an event called "HID.*" so it will catch all events from the hid plugin with the wildcard.

If it does not help try adding a tiny bit of waiting time just before the clear pending events action.
Post Reply