1INPUT_SET_EVENTS_PER(9) Input Subsystem INPUT_SET_EVENTS_PER(9)
2
3
4
6 input_set_events_per_packet - tell handlers about the driver event rate
7
9 void input_set_events_per_packet(struct input_dev * dev, int n_events);
10
12 dev
13 the input device used by the driver
14
15 n_events
16 the average number of events between calls to input_sync
17
19 If the event rate sent from a device is unusually large, use this
20 function to set the expected event rate. This will allow handlers to
21 set up an appropriate buffer size for the event stream, in order to
22 minimize information loss.
23
25Kernel Hackers Manual 3.10 June 2019 INPUT_SET_EVENTS_PER(9)