1INPUT_MT_INIT_SLOTS(9)          Input Subsystem         INPUT_MT_INIT_SLOTS(9)
2
3
4

NAME

6       input_mt_init_slots - initialize MT input slots
7

SYNOPSIS

9       int input_mt_init_slots(struct input_dev * dev, unsigned int num_slots,
10                               unsigned int flags);
11

ARGUMENTS

13       dev
14           input device supporting MT events and finger tracking
15
16       num_slots
17           number of slots used by the device
18
19       flags
20           mt tasks to handle in core
21

DESCRIPTION

23       This function allocates all necessary memory for MT slot handling in
24       the input device, prepares the ABS_MT_SLOT and ABS_MT_TRACKING_ID
25       events for use and sets up appropriate buffers. Depending on the flags
26       set, it also performs pointer emulation and frame synchronization.
27
28       May be called repeatedly. Returns -EINVAL if attempting to reinitialize
29       with a different number of slots.
30
32Kernel Hackers Manual 3.10         June 2019            INPUT_MT_INIT_SLOTS(9)
Impressum