'\" t .\" Title: input_mt_report_slot_state .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Input Subsystem .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "INPUT_MT_REPORT_SLOT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Input Subsystem" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" input_mt_report_slot_state \- report contact state .SH "SYNOPSIS" .HP \w'void\ input_mt_report_slot_state('u .BI "void input_mt_report_slot_state(struct\ input_dev\ *\ " "dev" ", unsigned\ int\ " "tool_type" ", bool\ " "active" ");" .SH "ARGUMENTS" .PP \fIdev\fR .RS 4 input device with allocated MT slots .RE .PP \fItool_type\fR .RS 4 the tool type to use in this slot .RE .PP \fIactive\fR .RS 4 true if contact is active, false otherwise .RE .SH "DESCRIPTION" .PP Reports a contact via ABS_MT_TRACKING_ID, and optionally ABS_MT_TOOL_TYPE\&. If active is true and the slot is currently inactive, or if the tool type is changed, a new tracking id is assigned to the slot\&. The tool type is only reported if the corresponding absbit field is set\&. .SH "COPYRIGHT" .br