Lines Matching defs:touch

1466 			unsigned char *touch = &frame[j*finger_touch_len + 1];
1467 int slot = input_mt_get_slot_by_key(touch_input, touch[0]);
1468 int x = get_unaligned_le16(&touch[2]);
1469 int y = get_unaligned_le16(&touch[4]);
1470 int w = touch[6] * input_abs_get_res(touch_input, ABS_MT_POSITION_X);
1471 int h = touch[7] * input_abs_get_res(touch_input, ABS_MT_POSITION_Y);
1477 input_mt_report_slot_state(touch_input, MT_TOOL_FINGER, touch[1] & 0x01);
1630 bool touch = (data[offset] & 0x1) && report_touch_events(wacom);
1636 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1638 if (touch) {
1694 bool touch = (data[offset] & 0x1) && report_touch_events(wacom);
1702 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1703 if (touch) {
1728 bool touch = p && report_touch_events(wacom);
1731 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
1732 if (touch) {
1742 /* keep touch state for pen event */
1778 /* keep touch state for pen events */
1794 /* keep pen state for touch events */
1797 /* send pen events only when touch is up or forced out
1798 * or touch arbitration is off
2074 * This usage, which is used to mute touch events, comes
2075 * from the pad packet, but is reported on the touch
2076 * interface. Because the touch interface may not have
2163 /* Process touch switch state first since it is reported through touch interface,
2470 /* send pen events only when touch is up or forced out
2471 * or touch arbitration is off
2515 /* keep pen state for touch events */
2796 /* keep touch state for pen event */
2962 bool touch = report_touch_events(wacom)
2966 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
2967 if (touch) {
2994 bool touch = data[1] & 0x80;
3000 touch = touch && report_touch_events(wacom);
3003 input_mt_report_slot_state(input, MT_TOOL_FINGER, touch);
3005 if (touch) {
3071 /* only update touch if we actually have a touchpad and touch data changed */
3232 /* keep touch state for pen event */
3538 /* touch device found but size is not defined. use default */
3546 * touch interface in its HID descriptor. If this is the touch
3584 * Raw Wacom-mode pen and touch events both come from interface
3640 /* quirk for bamboo touch with 2 low res touches */
3892 if (wacom_wac->shared->touch->product == 0x361) {
3898 else if (wacom_wac->shared->touch->product == 0x360) {
3904 else if (wacom_wac->shared->touch->product == 0x393) {
3934 if (wacom_wac->shared->touch->product == 0x32C ||
3935 wacom_wac->shared->touch->product == 0xF6) {
4462 { "Wacom Intuos5 touch S", 31496, 19685, 2047, 63,
4465 { "Wacom Intuos5 touch M", 44704, 27940, 2047, 63,
4468 { "Wacom Intuos5 touch L", 65024, 40640, 2047, 63,
4494 { "Wacom Cintiq 24HD touch", 104480, 65600, 2047, 63, /* Pen */
4500 { "Wacom Cintiq 24HD touch", .type = WACOM_24HDT, /* Touch */
4509 { "Wacom Cintiq 27QHD touch", 120140, 67920, 2047, 63,
4515 { "Wacom Cintiq 27QHD touch", .type = WACOM_27QHDT,
4532 { "Wacom Cintiq 13HD touch", 59552, 33848, 2047, 63,
4538 { "Wacom Cintiq 13HD touch", .type = WACOM_24HDT, /* Touch */