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.
Stop USBIURT autorepeat
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
Maybe this workaround might work:
Trigger the "Transmit Start Code" macro with a keyboard shortcut for example (or simple by holding down the execute button). As long as the event "is active", it will call the second macro in a loop.
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="974">
<Folder Name="<unnamed folder>" Expanded="True">
<Macro Name="USB-UIRT: Transmit Start Code" Expanded="True">
<Action>
USB_UIRT.TransmitIR(u'0000 006E 0022 0002 0155 00AA 0016 003F 0016 0015 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0040 0015 0016 0016 0040 0015 0040 0016 0015 0015 0015 0016 0015 0016 0015 0015 0015 0016 0015 0016 003F 0016 0040 0015 0040 0016 0015 0015 0015 0016 0015 0016 0015 0015 0040 0016 0015 0015 0015 0016 0015 0016 003F 0016 0040 0015 0040 0016 003F 0016 068D 0155 0055 0015 0E31', 1, 0)
</Action>
<Action>
EventGhost.NewJumpIf(XmlIdLink(49), 2, False)
</Action>
</Macro>
<Macro Name="USB-UIRT: Transmit Repeat Code" id="49" Expanded="True">
<Action>
USB_UIRT.TransmitIR(u'0000 006E 0002 0000 0155 0055 0015 0E31', 1, 0)
</Action>
<Action>
EventGhost.AutoRepeat(0.0, 0.0, 0.0, 1.0)
</Action>
</Macro>
</Folder>
</EventGhost>Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
1 . This is the answer from USB-UIRT support, your are right there is a bug :
Sorry, but I am not yet familiar with EvenGhost ! Soon May be ?
2 . I have tested your code but I am not sure of what should happen. I execute manually the macro : USB-UIRT: Transmit Start Code , the two macros this one et the next excute but there is no loop running.Antoine,
This issue occurs because the USB buffer has queued multiple 'repeat' codes to the USB-UIRT hardware (the repeat code section of the IR code is very short) and therefore it takes some time for the queue to 'clear out'.
It may be possible to help this situation out with a firmware/driver change. I will have to look into it.
Best Regards,
Jon
Sorry, but I am not yet familiar with EvenGhost ! Soon May be ?
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm
- Bitmonster
- Site Admin
- Posts: 2239
- Joined: Mon Feb 06, 2006 10:28 pm