Lines Matching defs:touch
1471 unsigned char *touch = &frame[j*finger_touch_len + 1];
1472 int slot = input_mt_get_slot_by_key(touch_input, touch[0]);
1473 int x = get_unaligned_le16(&touch[2]);
1474 int y = get_unaligned_le16(&touch[4]);
1475 int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X);
1476 int h = touch[7] * input_abs_get_res(touch_input, ABS_MT_POSITION_Y);
1482 input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01);
1632 bool touch = (data[offset] & 0x1) && report_touch_events(wacom);
1638 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1640 if (touch) {
1696 bool touch = (data[offset] & 0x1) && report_touch_events(wacom);
1704 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1705 if (touch) {
1730 bool touch = p && report_touch_events(wacom);
1733 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1734 if (touch) {
1744 /* keep touch state for pen event */
1780 /* keep touch state for pen events */
1796 /* keep pen state for touch events */
1799 /* send pen events only when touch is up or forced out
1800 * or touch arbitration is off
2070 /* softkey touch switch */
2075 * These two usages, which are used to mute touch events, come
2076 * from the pad packet, but are reported on the touch
2077 * interface. Because the touch interface may not have
2164 /* Process touch switch state first since it is reported through touch interface,
2500 /* send pen events only when touch is up or forced out
2501 * or touch arbitration is off
2545 /* keep pen state for touch events */
2854 /* keep touch state for pen event */
3020 bool touch = report_touch_events(wacom)
3024 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
3025 if (touch) {
3052 bool touch = data[1] & 0x80;
3058 touch = touch && report_touch_events(wacom);
3061 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
3063 if (touch) {
3129 /* only update touch if we actually have a touchpad and touch data changed */
3290 /* keep touch state for pen event */
3590 /* touch device found but size is not defined. use default */
3598 * touch interface in its HID descriptor. If this is the touch
3636 * Raw Wacom-mode pen and touch events both come from interface
3692 /* quirk for bamboo touch with 2 low res touches */
3942 if (wacom_wac->shared->touch->product == 0x361) {
3948 else if (wacom_wac->shared->touch->product == 0x360) {
3954 else if (wacom_wac->shared->touch->product == 0x393) {
3984 if (wacom_wac->shared->touch->product == 0x32C ||
3985 wacom_wac->shared->touch->product == 0xF6) {
4513 { "Wacom Intuos5 touch S", 31496, 19685, 2047, 63,
4516 { "Wacom Intuos5 touch M", 44704, 27940, 2047, 63,
4519 { "Wacom Intuos5 touch L", 65024, 40640, 2047, 63,
4545 { "Wacom Cintiq 24HD touch", 104480, 65600, 2047, 63, /* Pen */
4551 { "Wacom Cintiq 24HD touch", .type = WACOM_24HDT, /* Touch */
4560 { "Wacom Cintiq 27QHD touch", 120140, 67920, 2047, 63,
4566 { "Wacom Cintiq 27QHD touch", .type = WACOM_27QHDT,
4583 { "Wacom Cintiq 13HD touch", 59552, 33848, 2047, 63,
4589 { "Wacom Cintiq 13HD touch", .type = WACOM_24HDT, /* Touch */