Name
input_mt_create_slots —
create MT input slots
Synopsis
int fsfuncinput_mt_create_slots ( | struct input_dev * dev, |
| unsigned int num_slots) ; |
Arguments
dev
input device supporting MT events and finger tracking
num_slots
number of slots used by the device
Description
This function allocates all necessary memory for MT slot handling in the
input device, and adds ABS_MT_SLOT to the device capabilities. All slots
are initially marked as unused iby setting ABS_MT_TRACKING_ID to -1.