table of contents
other versions
- wheezy 3.2.78-1
INPUT_MT_INIT_SLOTS_(9) | Input Subsystem | INPUT_MT_INIT_SLOTS_(9) |
NAME¶
input_mt_init_slots_flags - initialize MT input slotsSYNOPSIS¶
int
input_mt_init_slots_flags(struct input_dev * dev,
unsigned int num_slots,
unsigned int flags);
ARGUMENTS¶
devinput device supporting MT events and finger
tracking
num_slots
number of slots used by the device
flags
-- undescribed --
DESCRIPTION¶
This function allocates all necessary memory for MT slot handling in the input device, prepares the ABS_MT_SLOT and ABS_MT_TRACKING_ID events for use and sets up appropriate buffers. May be called repeatedly. Returns -EINVAL if attempting to reinitialize with a different number of slots.COPYRIGHT¶
March 2016 | Kernel Hackers Manual 3.2. |