Jeff Brown 9fb0f14e31 Input: evdev - indicate buffer overrun with SYN_DROPPED
Add a new EV_SYN code, SYN_DROPPED, to inform the client when input
events have been dropped from the evdev input buffer due to a
buffer overrun.  The client should use this event as a hint to
reset its state or ignore all following events until the next
packet begins.

Signed-off-by: Jeff Brown <jeffbrown@android.com>
[dtor@mail.ru: Implement Henrik's suggestion and drop old events in
 case of overflow.]
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
2011-04-12 23:35:24 -07:00
..
2006-11-30 05:21:10 +01:00
2007-10-20 01:34:40 +02:00
2005-04-16 15:20:36 -07:00
2009-04-17 20:40:52 -07:00
2005-04-16 15:20:36 -07:00
2008-05-20 12:17:39 -04:00
2010-08-30 15:25:18 +02:00
2005-04-16 15:20:36 -07:00
2006-11-30 05:21:10 +01:00