|
From: Yan S. <ya...@se...> - 2009-01-24 22:45:26
|
Christoph Bartelmus wrote: > Hi! > > Christoph Bartelmus "li...@ba..." wrote: > >> Yan Seiner "ya...@se..." wrote: >> [...] >> >>> OK, I got if figured out.... It's a feature.... >>> >>> The parser doesn't keep track of where it is. What's needed to get the >>> functionality I want is: >>> > > >> a two line change. I just need to think a bit if this is really how it >> should work and which side effects it might have. >> > > In the meantime you can try if the attached patch gives the behaviour you > want. > > Christoph > OK, the only place where this fails is on the Meta key (towards the end of the attached lircrc file). The first LeftMeta keystroke gets swallowed as lirc is waiting to complete the pattern for earlier keys that begin with LeftMeta. It's a minor thing that won't bother me - and that could be fixed with a timer. Assuming the remote is sending keys quickly, if the next key isn't received in some small time interval, assume the pattern is complete and send it. --Yan |