table of contents
other versions
- wheezy-backports 3.16.39-1+deb8u1~bpo70+1
- jessie 3.16.43-2
INPUT_MT_GET_SLOT_BY(9) | Input Subsystem | INPUT_MT_GET_SLOT_BY(9) |
NAME¶
input_mt_get_slot_by_key - return slot matching keySYNOPSIS¶
int
input_mt_get_slot_by_key(struct input_dev * dev,
int key);
ARGUMENTS¶
devinput device with allocated MT slots
key
the key of the sought slot
DESCRIPTION¶
Returns the slot of the given key, if it exists, otherwise set the key on the first unused slot and return. If no available slot can be found, -1 is returned.COPYRIGHT¶
February 2017 | Kernel Hackers Manual 3.16 |