[mythtv] patch to add native lirc support
ijr at po.cwru.edu
Tue Aug 5 13:11:16 EDT 2003
On Tuesday 05 August 2003 07:52 am, Anduin Withers wrote:
> > thoughts?
> Ignore multiple key sequences, did you ever experience a situation where
> count > 1?
> I think the larger issue may be "Is posting QKeyEvent the right way to do
> I've been doing some digging in the Qt source and I'm not sure it is.
> The patch you sent has problems other than those you list (the bit about
> enter/esc when too far back). You can't navigate the setup dialogs or the
> delete popup.
> I was working on a patch and had things working better (still not good) but
> Myth's use of modal dialogs (or rather Qts event model) pretty much stopped
> me. The dialog event queue doesn't appear to process events posted to the
> app queue and a few searches for ways to work around this didn't turn
> anything obvious up.
> I don't know how hated this would be but XSendEvent would seem to be a lot
> easier in this case (apart from needing to reproduce portions of what
> irxevent does for generating the XKeyEvent).
> I whipped together a preliminary patch which did this (without the fancy
> code to allow for Ctrl/Shift states) and it works as well as irxevent.
Using XSendEvent would be mostly OK, but it'd be nice to do it inside of Qt
for, say, the Qt/Embedded support =)
More information about the mythtv-dev