table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
| INPUT_MT_ASSIGN_SLOT(9) | Input Subsystem | INPUT_MT_ASSIGN_SLOT(9) |
NAME¶
input_mt_assign_slots - perform a best-match assignmentSYNOPSIS¶
int
input_mt_assign_slots(struct input_dev * dev,
int * slots,
const struct input_mt_pos * pos,
int num_pos);
ARGUMENTS¶
devinput device with allocated MT slots
slots
the slot assignment to be filled
pos
the position array to match
num_pos
number of positions
DESCRIPTION¶
Performs 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.COPYRIGHT¶
| February 2017 | Kernel Hackers Manual 3.16 |