Remove warning comment from FORCE_SYNC
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 11 Sep 2013 01:17:08 +0000 (11:17 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 11 Sep 2013 02:10:15 +0000 (12:10 +1000)
commit64e1ed2ceff0263a3549aa6844669c94802be739
treea5c0d32f721eb3f9eb4092b46c786d9525194055
parent661602fe3bd247a7a151f8d24f8b40e97c0c5402
Remove warning comment from FORCE_SYNC

There is a legitimate reason for clients to force a sync on the device.
X.Org drivers lose the fd when the device is disabled and re-enabled. When
the device comes back, a simple libevdev_change_fd() doesn't update the status
on the device.

Button states, etc. may have changed, etc. So a driver may call FORCE_SYNC after
re-connecting to the fd to make sure the library and the driver get the current
state of the device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
libevdev/libevdev.h