Count the number of events needed for a full sync
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 16 Jan 2014 23:24:20 +0000 (09:24 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 21 Jan 2014 22:28:41 +0000 (08:28 +1000)
commit77bf0fe228b86e78d7b61f0f66e7526a1c5a0c50
tree5906274c951e2eeae8c5d12ac979a5e57920646f
parent4eeda3bc47ba682a96ab06a402250c040a1d0e07
Count the number of events needed for a full sync

Make sure we have a queue that is at least large enough to do a full sync
after a SYN_DROPPED, plus store a few extra events in case some came in after
the sync.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
libevdev/libevdev.c