Hi Guys,
Have been following the forum for some time now lapping it all up.
I need some help here, not sure if it can be done or not but here goes;
I have my apple remote working fine through a USB-UIRT but cannot map one of the buttons to a press+hold event. This is simply because two of the buttons send out two codes one straight after the other and one of the codes is duplicated eg;
Center Button sends Code A immediately followed by Code B
Play/Pause Button sends Code X immediately followed by Code B
So the last code out on both buttons is identical making it difficult to map both to a repeat or hold function. I am able to map one button to a press and hold function by using a wait and clear pending event on the other button to stop EG from seeing the second code (B) come through but really want to be able to map both buttons to long press functions.
My question is, how can I get EG to wait for two specific and consecutive codes (from one buton) and assign them to an event bearing in mind that I will also like to assign a press/hold function to these buttons as well. The jump if long press would have to act on the B code which both buttons send.
Thanks.
EDIT: I changed the Subject as it is not really Apple Remote specific.
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.
Help With Remote - buttons send two codes
Re: Help With Remote - buttons send two codes
Can anyone help here?
Is there a way to have EG trigger an event on receiving 2 specific codes in quick succession?
Thanks.
Is there a way to have EG trigger an event on receiving 2 specific codes in quick succession?
Thanks.
Re: Help With Remote - buttons send two codes
you can use A and X to enable the macro with the long press you really want.
Re: Help With Remote - buttons send two codes
Thanks, I had just figured it out by using the first code to disable (think that is what you meant) the other button whilst it waits for a long key press on the shared code.
Finally, after a bit of play with the keymap.xml I will be able to use my Apple Remote in XBMC (Windows) as I used to in Plex.....
Finally, after a bit of play with the keymap.xml I will be able to use my Apple Remote in XBMC (Windows) as I used to in Plex.....
Re: Help With Remote - buttons send two codes
Hey, I'm trying to do exactly the same thing but can't quite figure out the logic. Can you post a screenshot or describe each item?
Thanks!
Thanks!
Re: Help With Remote - buttons send two codes
If at least one of the two codes received is unique (in the example above, Code A and Code X, not Code B), why not just use that as the triggering event?
Re: Help With Remote - buttons send two codes
The issue is as follows:kkl wrote:If at least one of the two codes received is unique (in the example above, Code A and Code X, not Code B), why not just use that as the triggering event?
short press = A then B
long press = A then B, B, B, B, B
so you need to somehow trigger two different actions on those two types of events. The problem is that for the long press there doesn't seem to be a way to prevent the short press action from being triggered.
does that make sense?
Re: Help With Remote - buttons send two codes
You might want to look at the built-in Action EventGhost/Jump if long press to see if it does what you want. Otherwise, save yourself a lot of time and get more flexibility with a $15 HP eHome MCE IR receiver/remote.