On Tue, Mar 24, 2009 at 09:24:09AM +1100, Neil Brown wrote: > > > > if type == 3: > > if code == 0: > > x = value > > if code == 1: > > y = value > > if code == 2: > > z = value > > Or > if type == 2 or type == 3: > ... > > then it would work on both old and new kernels.
Shouldn't "if (type == EV_SYN)" do that? Of course maybe the program would require being recompiled for the corresponding system version it is going to run... Rui -- Frink! Today is Boomtime, the 9th day of Discord in the YOLD 3175 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? _______________________________________________ Openmoko community mailing list [email protected] http://lists.openmoko.org/mailman/listinfo/community

