Input: introduce input_mt_report_slot_inactive()
input_mt_report_slot_state() ignores "tool" argument when the slot is closed, which has caused a bit of confusion. Let's introduce input_mt_report_slot_inactive() to report inactive slot state. Suggested-by:Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by:
Jiada Wang <jiada_wang@mentor.com> Link: https://lore.kernel.org/r/20200508055656.96389-2-jiada_wang@mentor.com Signed-off-by:
Dmitry Torokhov <dmitry.torokhov@gmail.com>
Showing
- drivers/hid/hid-alps.c 1 addition, 2 deletionsdrivers/hid/hid-alps.c
- drivers/hid/hid-multitouch.c 2 additions, 4 deletionsdrivers/hid/hid-multitouch.c
- drivers/input/misc/xen-kbdfront.c 1 addition, 1 deletiondrivers/input/misc/xen-kbdfront.c
- drivers/input/mouse/elan_i2c_core.c 1 addition, 1 deletiondrivers/input/mouse/elan_i2c_core.c
- drivers/input/touchscreen/atmel_mxt_ts.c 3 additions, 4 deletionsdrivers/input/touchscreen/atmel_mxt_ts.c
- drivers/input/touchscreen/cyttsp4_core.c 2 additions, 3 deletionsdrivers/input/touchscreen/cyttsp4_core.c
- drivers/input/touchscreen/cyttsp_core.c 1 addition, 1 deletiondrivers/input/touchscreen/cyttsp_core.c
- drivers/input/touchscreen/melfas_mip4.c 2 additions, 2 deletionsdrivers/input/touchscreen/melfas_mip4.c
- drivers/input/touchscreen/mms114.c 1 addition, 1 deletiondrivers/input/touchscreen/mms114.c
- drivers/input/touchscreen/raspberrypi-ts.c 1 addition, 1 deletiondrivers/input/touchscreen/raspberrypi-ts.c
- drivers/input/touchscreen/stmfts.c 1 addition, 1 deletiondrivers/input/touchscreen/stmfts.c
- include/linux/input/mt.h 5 additions, 0 deletionsinclude/linux/input/mt.h
Loading
Please register or sign in to comment