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.

MCE remote with USB-UIRT and GBPVR

If you have a question or need help, this is the place to be.
Post Reply
loomy
Posts: 42
Joined: Sat Sep 22, 2007 10:07 pm

MCE remote with USB-UIRT and GBPVR

Post by loomy »

I have an MCE remote and a USBUIRT. I don't know if anyone here has used this combination before so I'll share my results.

USBUIRT seems to pick up every IR signal I throw at it. The eventghost plugin seems to work easily enough.

Issues:

1) The MCE remote appears to throw alternating commands per button. So pressing "up" sends one command, and then pressing "up" again sends another command, and then pressing "up" again sends the first command again, and so on. This is surprising to me because the MCE IR base with alternate driver only reported the one MceRemote.Up command. Should I just build my eventghost macro to contain both of the alternate IR commands?

2) Possible bug: In testing "up" with both IR commands in the macro, I dragged the two commands into my existing macro that had MceRemote.Up already there. After mashing the button 20 times I noticed that more than the expected USBUIRT commands had been reported by eventghost -- MceRemote.Up had been reported once or twice as well. This should not be possible with no mce IR base hooked up, I think? So maybe in the shuffle of pressing the button so often, eventghost executed or reported MceRemote.Up when it shouldnt have, just because it is in the same macro as the real commands? The MCE plugin is still active during this test.

3) Pressing the up button repeatedly and faster than eventghost executes the macros results in the macro events being queued up and executed long after button pressing has stopped. So I press up up up up up up up and stop, but it keeps going up for a second or more afterwards. I guess most IR applications (like a TV) will discard some commands so that this does not happen. How do I do I stop this queue of commands with eventghost?

USBUIRT is a smooth, small device compared to the MCE IR. I like it. The pretty eventghost GUI also makes this process easier :)
User avatar
Bitmonster
Site Admin
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: MCE remote with USB-UIRT and GBPVR

Post by Bitmonster »

1) Yes. It's a typical "toggle bit" remote code.
2) Never seen this. Could you please add an impossible event like "Pig.Grunt" to see if this event will also be logged?
3) Action: EventGhost/Flush Events
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
loomy
Posts: 42
Joined: Sat Sep 22, 2007 10:07 pm

Re: MCE remote with USB-UIRT and GBPVR

Post by loomy »

Bitmonster wrote:1) Yes. It's a typical "toggle bit" remote code.
2) Never seen this. Could you please add an impossible event like "Pig.Grunt" to see if this event will also be logged?
3) Action: EventGhost/Flush Events
You reply so fast!!!!!!!!!! :)

2) I just added MceRemote.Up and Poop.onmyface!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! events to the up macro. Mashing the button didn't seem to do anything until I moved the remote around and started generating bad IR codes (easy and common when I have usbuirt on my desk and I miss the usbuirt, shooting the remote under my desk). Doing this I managed to generate an MceRemote.Up event, but NOT the Poop event. So there is no poop, but there is an MCE ghost in my eventghost!!

Log example at the end of this post. Arrow on mceremote command added by me.

Another thing that I notice is that it is possible to generate the same toggle bit IR command twice in a row. So for instance, I press up twice quickly, and the 50F1 code comes out twice. But if I press once and wait to press again, it comes out toggled. Is that normal? Maybe it is because of me now using the flushevents action? (this is the bottom-most log)

3) Flushevents at the end of the macro, got it, thanks!


Log:

Code: Select all

USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.5D1E1B1541A0
USB_UIRT.1300000A5554
USB_UIRT.375154FF4545
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
MceRemote.Up                                   <-------------------------------------------------------------------!
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.5D0B6A5041B4
USB_UIRT.5541517F5551
USB_UIRT.4914CE2A5DB4
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
MceRemote.Up
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
USB_UIRT.432689F040F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0

Code: Select all

USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
Flush Events
USB_UIRT.432688F050F1
Up
Find Window: GB-PVR
Emulate Keystrokes: {Up}
Autorepeat current macro: 2.0
Flush Events
Post Reply