/linux/Documentation/input/ |
A D | multi-touch-protocol.rst | 173 ABS_MT_TOUCH_MAJOR and ABS_MT_WIDTH_MAJOR may be used to provide the size 182 ABS_MT_TOOL_X/Y. The touch diameter is ABS_MT_TOUCH_MAJOR and the finger 185 the ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR, which is always smaller 234 ABS_MT_TOUCH_MAJOR 237 possible value of ABS_MT_TOUCH_MAJOR is sqrt(X^2 + Y^2), the diagonal [#f4]_. 254 the contact. The ratio ABS_MT_TOUCH_MAJOR / ABS_MT_WIDTH_MAJOR approximates 351 ABS_MT_TOUCH_MAJOR := max(X, Y) 370 ABS_MT_TOUCH_MAJOR := min(X, Y)
|
/linux/drivers/input/touchscreen/ |
A D | s6sy761.c | 156 input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, major); in s6sy761_report_coordinates() 438 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe() 440 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in s6sy761_probe()
|
A D | cy8ctma140.c | 88 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, w); in cy8ctma140_report() 224 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in cy8ctma140_probe()
|
A D | sis_i2c.c | 211 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in sis_ts_report_contact() 346 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, in sis_ts_probe()
|
A D | st1232.c | 164 input_report_abs(input, ABS_MT_TOUCH_MAJOR, z[i]); in st1232_ts_parse_and_report() 304 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, in st1232_ts_probe()
|
A D | zinitix.c | 318 input_report_abs(bt541->input_dev, ABS_MT_TOUCH_MAJOR, p->width); in zinitix_report_finger() 439 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in zinitix_init_input_dev()
|
A D | auo-pixcir-ts.c | 210 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in auo_pixcir_interrupt() 580 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, in auo_pixcir_probe()
|
A D | mms114.c | 189 input_report_abs(input_dev, ABS_MT_TOUCH_MAJOR, touch->width); in mms114_process_mt() 476 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, in mms114_probe()
|
A D | cyttsp_core.c | 350 input_report_abs(input, ABS_MT_TOUCH_MAJOR, tch->z); in cyttsp_report_tchdata() 698 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in cyttsp_probe()
|
A D | stmfts.c | 187 input_report_abs(sdata->input, ABS_MT_TOUCH_MAJOR, maj); in stmfts_report_contact_event() 667 input_set_abs_params(sdata->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in stmfts_probe()
|
A D | goodix.c | 311 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, input_w); in goodix_ts_report_touch_8b() 326 input_report_abs(ts->input_dev, ABS_MT_TOUCH_MAJOR, input_w); in goodix_ts_report_touch_9b() 1050 input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in goodix_configure_dev()
|
A D | zforce_ts.c | 397 input_report_abs(ts->input, ABS_MT_TOUCH_MAJOR, in zforce_touch_event() 860 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, in zforce_probe()
|
A D | elants_i2c.c | 1024 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, w); in elants_i2c_mt_event() 1520 input_set_abs_params(ts->input, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in elants_i2c_probe() 1535 input_abs_set_res(ts->input, ABS_MT_TOUCH_MAJOR, ts->major_res); in elants_i2c_probe()
|
A D | hideep.c | 713 input_report_abs(input, ABS_MT_TOUCH_MAJOR, event->w); in hideep_report_slot() 805 input_set_abs_params(ts->input_dev, ABS_MT_TOUCH_MAJOR, 0, 255, 0, 0); in hideep_init_input()
|
A D | sur40.c | 450 input_report_abs(input, ABS_MT_TOUCH_MAJOR, major); in sur40_report_blob() 633 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, in sur40_input_setup_events()
|
A D | wdt87xx_i2c.c | 987 input_report_abs(input, ABS_MT_TOUCH_MAJOR, w); in wdt87xx_report_contact() 1051 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, in wdt87xx_ts_create_input_device()
|
/linux/drivers/input/rmi4/ |
A D | rmi_2d_sensor.c | 102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report() 181 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 0x0f, 0, 0); in rmi_2d_sensor_set_input_params()
|
/linux/drivers/hid/ |
A D | hid-ntrig.c | 526 EV_ABS, ABS_MT_TOUCH_MAJOR); in ntrig_input_mapping() 739 ABS_MT_TOUCH_MAJOR, nd->w); in ntrig_event() 746 ABS_MT_TOUCH_MAJOR, nd->h); in ntrig_event()
|
A D | hid-asus.c | 213 input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major); in asus_report_contact_down() 246 input_mt_get_value(oldest, ABS_MT_TOUCH_MAJOR)); in asus_report_tool_width() 795 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, in asus_input_configured()
|
A D | hid-magicmouse.c | 348 input_report_abs(input, ABS_MT_TOUCH_MAJOR, touch_major << 2); in magicmouse_emit_touch() 581 input_set_abs_params(input, ABS_MT_TOUCH_MAJOR, 0, 255 << 2, in magicmouse_setup_input()
|
A D | wacom_wac.c | 1409 input_report_abs(touch_input, ABS_MT_TOUCH_MAJOR, max(w, h)); in wacom_intuos_pro2_bt_touch() 1577 input_report_abs(input, ABS_MT_TOUCH_MAJOR, min(w,h)); in wacom_24hdt_irq() 2510 wacom_map_usage(input, usage, field, EV_ABS, ABS_MT_TOUCH_MAJOR, 0); in wacom_wac_finger_usage_mapping() 2582 if (test_bit(ABS_MT_TOUCH_MAJOR, input->absbit)) { in wacom_wac_finger_slot() 2583 input_report_abs(input, ABS_MT_TOUCH_MAJOR, max(hid_data->width, hid_data->height)); in wacom_wac_finger_slot() 2960 input_report_abs(input, ABS_MT_TOUCH_MAJOR, width); in wacom_bpt3_touch_msg() 3851 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() 3857 input_set_abs_params(input_dev, ABS_MT_TOUCH_MAJOR, 0, features->x_max, 0, 0); in wacom_setup_touch_input_capabilities() 3894 ABS_MT_TOUCH_MAJOR, in wacom_setup_touch_input_capabilities()
|
/linux/drivers/input/misc/ |
A D | xen-kbdfront.c | 137 input_report_abs(info->mtouch, ABS_MT_TOUCH_MAJOR, in xenkbd_handle_mt_event() 353 input_set_abs_params(mtouch, ABS_MT_TOUCH_MAJOR, in xenkbd_probe()
|
/linux/drivers/input/mouse/ |
A D | bcm5974.c | 526 set_abs(input_dev, ABS_MT_TOUCH_MAJOR, &cfg->w); in setup_events_to_report() 571 input_report_abs(input, ABS_MT_TOUCH_MAJOR, in report_finger_data()
|
/linux/include/linux/ |
A D | input.h | 12 #define ABS_MT_FIRST ABS_MT_TOUCH_MAJOR
|
/linux/include/dt-bindings/input/ |
A D | linux-event-codes.h | 855 #define ABS_MT_TOUCH_MAJOR 0x30 /* Major axis of touching ellipse */ macro
|