Duncan Webb wrote: > > What about writing a helper to generate the correct stuff that can then > be merged into local_conf.py, a bit like convert_config.py. This way the > everything is set up once and no parsing is required at run time.
There's evdev._print_tables() that generates python code for the tables (evfallback.py is a dump of this output). > > I don't know what anybody else thinks but parsing a system header at run > time seems to be a _bad_ idea. The header is as close as you get to an official specification of the mapping. And since it's supposed to have a fallback, I do not see it as that horrible. > > BTW Doesn't lirc support /dev/input/eventX? There are quite a few > messages that relate to this topic. > News to me, but I'm no lirc expert. Still, that's one extra dependency for something we can do directly. Rgds -- -- Pierre Ossman Linux kernel, MMC maintainer http://www.kernel.org PulseAudio, core developer http://pulseaudio.org rdesktop, core developer http://www.rdesktop.org ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel