[PATCH v2 03/20] Input: Improve the events-per-packet estimate

2012-08-26 Thread Henrik Rydberg
The events-per-packet estimate has so far been used by MT devices only. This patch adjusts the packet buffer size to also accomodate the KEY and MSC events. Keyboards normally send one or two keys at a time. MT devices normally send a number of button keys along with the MT information. The

[PATCH v2 03/20] Input: Improve the events-per-packet estimate

2012-08-26 Thread Henrik Rydberg
The events-per-packet estimate has so far been used by MT devices only. This patch adjusts the packet buffer size to also accomodate the KEY and MSC events. Keyboards normally send one or two keys at a time. MT devices normally send a number of button keys along with the MT information. The