Query: input_mt_assign_slots
OS: centos
Section: 9
Links: centos man pages all man pages forum categories
Format:Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
INPUT_MT_ASSIGN_SLOT(9) Input Subsystem INPUT_MT_ASSIGN_SLOT(9)NAMEinput_mt_assign_slots - perform a best-match assignmentSYNOPSISint input_mt_assign_slots(struct input_dev * dev, int * slots, const struct input_mt_pos * pos, int num_pos);ARGUMENTSdev input device with allocated MT slots slots the slot assignment to be filled pos the position array to match num_pos number of positionsDESCRIPTIONPerforms a best match against the current contacts and returns the slot assignment list. New contacts are assigned to unused slots. Returns zero on success, or negative error in case of failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 INPUT_MT_ASSIGN_SLOT(9)