[mythtv] Trigger Event patch (RIGHT/LEFT accel)

Daniel Kristjansson danielk at cuymedia.net
Mon Sep 26 02:13:48 UTC 2011

On Tue, 2011-09-20 at 23:28 -0400, Ronald Frazier wrote:
> Yeah, that's the patch I wrote back for 0.22. I've updated it for 0.24
> but never got around to uploaded before now. Since I saw this thread,
> I figured I might as well get it online:
> http://www.ronfrazier.net/mythtv/0.24/index.html#ButtonListTriggerEvent

Ron, I've reworked your patch a bit. I put the remap before regular
handling action handling so that actions will be fully suppressed
when remapped. I also added some range checks to avoid segfaults.
And I also copied the remap in MythUIButtonList::CopyFrom(), which
was essential to getting this to work for the main menu.

This version includes remaps for the MythCenter-wide theme, other
themes will need to be patched to get arrow accelerator behaviour.

Please take a look and let me know if I missed something.

-- Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: triggerevent-v2.patch
Type: text/x-patch
Size: 8528 bytes
Desc: not available
Url : http://www.mythtv.org/pipermail/mythtv-dev/attachments/20110925/71cc1568/attachment.bin 

More information about the mythtv-dev mailing list