Input: estimate number of events per packet
authorJeff Brown <jeffbrown@google.com>
Mon, 18 Apr 2011 17:08:02 +0000 (10:08 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Apr 2011 17:15:43 +0000 (10:15 -0700)
commit80b4895aa4578e9372d76cd4063f82d0c3994d77
tree0ac167a8b17e2550ff2d996d153ecbb59e05e643
parent9fb0f14e31b6101a0cc69a333b43541044f9b0a6
Input: estimate number of events per packet

Calculate a default based on the number of ABS axes, REL axes,
and MT slots for the device during input device registration.

Signed-off-by: Jeff Brown <jeffbrown@android.com>
Reviewed-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input.c
include/linux/input/mt.h