[PATCH libevdev 3/3] Remove warning comment from FORCE_SYNC
benjamin.tissoires at gmail.com
Wed Sep 11 14:24:03 PDT 2013
On Wed, Sep 11, 2013 at 4:12 AM, Peter Hutterer
<peter.hutterer at who-t.net> wrote:
> 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 at who-t.net>
For the whole series:
Acked-by: Benjamin Tissoires <benjamin.tissoires at gmail.com>
More information about the Input-tools