Lines Matching refs:touch
1039 bool touch = data[offset] & 0x1 && !wacom->shared->stylus_in_proximity; in wacom_24hdt_irq() local
1045 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_24hdt_irq()
1047 if (touch) { in wacom_24hdt_irq()
1097 bool touch = data[offset] & 0x1; in wacom_mt_touch() local
1105 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_mt_touch()
1106 if (touch) { in wacom_mt_touch()
1131 bool touch = p && !wacom->shared->stylus_in_proximity; in wacom_tpc_mt_touch() local
1134 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_tpc_mt_touch()
1135 if (touch) { in wacom_tpc_mt_touch()
1444 struct input_dev *input, bool touch) in wacom_wac_finger_mt_report() argument
1452 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_wac_finger_mt_report()
1453 if (touch) { in wacom_wac_finger_mt_report()
1461 struct input_dev *input, bool touch) in wacom_wac_finger_single_touch_report() argument
1465 if (touch) { in wacom_wac_finger_single_touch_report()
1469 input_report_key(input, BTN_TOUCH, touch); in wacom_wac_finger_single_touch_report()
1478 bool touch = wacom_wac->hid_data.tipswitch && in wacom_wac_finger_report() local
1483 wacom_wac_finger_mt_report(wacom_wac, input, touch); in wacom_wac_finger_report()
1485 wacom_wac_finger_single_touch_report(wacom_wac, input, touch); in wacom_wac_finger_report()
1489 wacom_wac->shared->touch_down = touch; in wacom_wac_finger_report()
1560 bool touch = data[offset + 3] & 0x80; in wacom_bpt_touch() local
1568 touch = touch && !wacom->shared->stylus_in_proximity; in wacom_bpt_touch()
1571 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_bpt_touch()
1572 if (touch) { in wacom_bpt_touch()
1598 bool touch = data[1] & 0x80; in wacom_bpt3_touch_msg() local
1604 touch = touch && !wacom->shared->stylus_in_proximity; in wacom_bpt3_touch_msg()
1607 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch); in wacom_bpt3_touch_msg()
1609 if (touch) { in wacom_bpt3_touch_msg()