AFAIK, input_sync() is always called after reporting input_report_xxx() functions. This way input events are flushed i.e reported to the userspace *immediately * as they occur in the hardware. This i have done in sensors and touchscreen kernel-drivers for Android.
What is the problem you are facing? regards CVS On Thu, Feb 2, 2012 at 3:33 PM, ajay <[email protected]> wrote: > hi, > I am migrating my driver from 2.6.35 kernel to 3.0.8.In my driver > when I try to report an event using abs_report_abs it does not throw > the event unless I call input_sync.Similarly I have to write an > input_event to the driver how do I do it. > > Regards, > Ajay > > -- > unsubscribe: [email protected] > website: http://groups.google.com/group/android-kernel -- unsubscribe: [email protected] website: http://groups.google.com/group/android-kernel
