Commit Graph
3 Commits
Author SHA1 Message Date
Henrik Rydberg d04df0232d Input: document device properties
Add a section which defines the input device properties and provides
guidelines on how to use them.

Signed-off-by: Henrik Rydberg <[email protected]>
Reviewed-by: Chase Douglas <[email protected]>
Reviewed-by: Jussi Pakkanen <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
2012-02-01 09:14:17 -08:00
Jeff Brown 9fb0f14e31 Input: evdev - indicate buffer overrun with SYN_DROPPED
Add a new EV_SYN code, SYN_DROPPED, to inform the client when input
events have been dropped from the evdev input buffer due to a
buffer overrun.  The client should use this event as a hint to
reset its state or ignore all following events until the next
packet begins.

Signed-off-by: Jeff Brown <[email protected]>
[[email protected]: Implement Henrik's suggestion and drop old events in
 case of overflow.]
Signed-off-by: Dmitry Torokhov <[email protected]>
2011-04-12 23:35:24 -07:00
Chase Douglas b1e064b81e Input: document event types and codes and their intended use
This commit adds the file Documentation/input/event-codes.txt.

Acked-by: Henrik Rydberg <[email protected]>
Reviewed-by: Peter Hutterer <[email protected]>
Signed-off-by: Chase Douglas <[email protected]>
Signed-off-by: Chris Bagwell <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
2011-04-12 23:35:18 -07:00