| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | #ifndef _INPUT_MT_H |
|---|
| 2 | 3 | #define _INPUT_MT_H |
|---|
| 3 | 4 | |
|---|
| .. | .. |
|---|
| 5 | 6 | * Input Multitouch Library |
|---|
| 6 | 7 | * |
|---|
| 7 | 8 | * Copyright (c) 2010 Henrik Rydberg |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is free software; you can redistribute it and/or modify it |
|---|
| 10 | | - * under the terms of the GNU General Public License version 2 as published by |
|---|
| 11 | | - * the Free Software Foundation. |
|---|
| 12 | 9 | */ |
|---|
| 13 | 10 | |
|---|
| 14 | 11 | #include <linux/input.h> |
|---|
| .. | .. |
|---|
| 103 | 100 | bool input_mt_report_slot_state(struct input_dev *dev, |
|---|
| 104 | 101 | unsigned int tool_type, bool active); |
|---|
| 105 | 102 | |
|---|
| 103 | +static inline void input_mt_report_slot_inactive(struct input_dev *dev) |
|---|
| 104 | +{ |
|---|
| 105 | + input_mt_report_slot_state(dev, 0, false); |
|---|
| 106 | +} |
|---|
| 107 | + |
|---|
| 106 | 108 | void input_mt_report_finger_count(struct input_dev *dev, int count); |
|---|
| 107 | 109 | void input_mt_report_pointer_emulation(struct input_dev *dev, bool use_count); |
|---|
| 108 | 110 | void input_mt_drop_unused(struct input_dev *dev); |
|---|