Skip to content
Commit 3b51c44b authored by Atif Niyaz's avatar Atif Niyaz Committed by Dmitry Torokhov
Browse files

Input: allow drivers specify timestamp for input events



Currently, evdev stamps events with timestamps acquired in evdev_events()
However, this timestamping may not be accurate in terms of measuring
when the actual event happened.

Let's allow individual drivers specify timestamp in order to provide a more
accurate sense of time for the event. It is expected that drivers will set the
timestamp in their hard interrupt routine.

Signed-off-by: default avatarAtif Niyaz <atifniyaz@google.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent c2433827
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment