I was trying to assign two functions to the same button on my remote, for winamp.
So a single click is puase/play, but a long click is PLAY (ie replay).
However it seems my (non standard) remote is sending rapid pulses instead of steady ones, so cant use the JUMP IF HELD function. So next option would be to double click the button to get this effect. My question is, how can I tell EG to seperate single and rapid double clicks?
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.
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.
How to assign function to a double click?
Re: How to assign function to a double click?
Hi,
Regards
Prinz
this is done by many remotes. Which remote plugin are you using? Normaly the setup of the remote plugin should have a "button release timeout". Could it be that this value is to less?farbox wrote:However it seems my (non standard) remote is sending rapid pulses instead of steady ones, so cant use the JUMP IF HELD function.
Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Re: How to assign function to a double click?
The built in (latest EG version) MCE receiver plugin.
On further trying i think i got it to work with long press, I had placed the long press macro somewhere that would cause it to recurse on itself.
However, how would we do a double button press as per original question? The more I think about it, the more usefull it seems it could be.
On further trying i think i got it to work with long press, I had placed the long press macro somewhere that would cause it to recurse on itself.
However, how would we do a double button press as per original question? The more I think about it, the more usefull it seems it could be.
Re: How to assign function to a double click?
Further info:
I think on my remote the play/pause button sends more rapid pulses than other buttons. I can get the long press function to work with every button except the play/pause one, just my luck!
I think on my remote the play/pause button sends more rapid pulses than other buttons. I can get the long press function to work with every button except the play/pause one, just my luck!
Re: How to assign function to a double click?
Hi,
Regards
Prinz
I think solution can be th Multitap plugin. Using this plugin different events can be fired if the same button is pressed more than one time in a specified time interval.farbox wrote:THowever, how would we do a double button press as per original question? The more I think about it, the more usefull it seems it could be.
Regards
Prinz
Mein HTPC:
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
Mainboard: Gigabyte GA-G33M-DS2R
CPU: Intel E5200
OS: WinXP SP3
Graphic card: NVIDIA GeForce 210 512MB
TV-Cards: 2 * Digital Everywhere FloppyDTV-C, Terratec Cinergy 1200 DVB-C
HTPC software: DVB Viewer / EventGhost
-
jsonnabend
- Experienced User
- Posts: 127
- Joined: Wed Apr 23, 2008 7:35 pm
Re: How to assign function to a double click?
It can also be done in straight python script. I use that approach. If you want, I can see if I can pull the code and post it here in some useful form.
- Jeff
- Jeff
Re: How to assign function to a double click?
Thanks guys for your help.
Any input is appreciated and Im sure might be of help to someone down the line.
However I am CLUELESS when it comes to scripting, so lets see how useful I can make it!
Any input is appreciated and Im sure might be of help to someone down the line.
However I am CLUELESS when it comes to scripting, so lets see how useful I can make it!