---
name: "input_mt_report_slot_state"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/input_mt_report_slot_state"
---

# input\_mt\_report\_slot\_state(9)

report contact state

## NAME

input\_mt\_report\_slot\_state - report contact state

## SYNOPSIS

**void input\_mt\_report\_slot\_state(struct input\_dev \*** *dev***, unsigned int** *tool\_type***, bool** *active***);**

## ARGUMENTS

*dev*

input device with allocated MT slots

*tool\_type*

the tool type to use in this slot

*active*

true if contact is active, false otherwise

## DESCRIPTION

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.

## COPYRIGHT
