State that the event is defined for a SYN_DROPPED
authorPeter Hutterer <peter.hutterer@who-t.net>
Fri, 6 Dec 2013 02:44:33 +0000 (12:44 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Sun, 8 Dec 2013 23:49:28 +0000 (09:49 +1000)
commitf66bf57baa611d60e1ba228d6d4c493be569bae0
tree70c24a562e9dd3299e9908442e92eb1eb3582a1d
parentaac29742b0b571fd2cb18cb21ef02c2553f5d6b7
State that the event is defined for a SYN_DROPPED

All clients that want to handle SYN_DROPPED correctly need to pass an EV_SYN
through their own handlers before starting with the syn events. Rather than
letting them synthesize that, guarantee that the event is defined the first
time LIBEVDEV_READ_STATUS_SYNC is returned.

This does not change existing behavior, it merely documents it so we can rely
on it.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
libevdev/libevdev.h
test/test-libevdev-events.c