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.

combining events

If you have a question or need help, this is the place to be.
Post Reply
fkroeger
Posts: 2
Joined: Thu Apr 01, 2010 8:17 pm

combining events

Post by fkroeger »

Hi,

I have used the search function but wasn't able to find anything regarding my problem. So if this has been answered already point me to the right direction please.

I'm using EventGhost 0.3.7.r1436 on Win XP and a TechSolo remote (M19). The remote does not work with the "generic HID" plugin only with the "Keyboard" plugin.

Here is my problem:

If I press a key on the remote it sends multiple keystrokes. For example the play button would send these events:

Keyboard.LCtrl
Keyboard.LShift+LCtrl
Keyboard.LShift+LCtrl+P
Keyboard.LShift+P
Keyboard.P

or the rewind button:

Keyboard.LCtrl
Keyboard.LShift+LCtrl
Keyboard.LShift+LCtrl+B
Keyboard.LShift+B
Keyboard.B

Is it possible to combine these 5 events to a single one so a macro would only get triggered if these 5 events occur one after another?

If I simply add all the events to a macro it gets triggered 5 times.

Any hints would be much appreciated.

Tia
Frank
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: combining events

Post by jonib »

fkroeger wrote:Is it possible to combine these 5 events to a single one so a macro would only get triggered if these 5 events occur one after another?
Looks like you only need to use one event Keyboard.LShift+LCtrl+P for Play and Keyboard.LShift+LCtrl+B for rewind.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
fkroeger
Posts: 2
Joined: Thu Apr 01, 2010 8:17 pm

Re: combining events

Post by fkroeger »

Man,

how stupid can one be not seeing this :oops:

This works of course, thank you very much
jonib
Plugin Developer
Posts: 1328
Joined: Thu Mar 26, 2009 9:33 pm
Location: Sweden

Re: combining events

Post by jonib »

fkroeger wrote:how stupid can one be not seeing this :oops:
Well sometimes one can get blinded by the obvious. :shock:
This works of course, thank you very much
You are welcome.

jonib
XBMC2 plugin to control XBMC. If you want to flatter me Image
Post Reply