Home
last modified time | relevance | path

Searched refs:EV_ABS (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-6.15/tools/testing/selftests/hid/tests/
H A Dtest_sony.py48 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X) in events
49 value = evdev.value[libevdev.EV_ABS.ABS_X]
59 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Y) in events
60 value = evdev.value[libevdev.EV_ABS.ABS_Y]
68 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Z) in events
69 value = evdev.value[libevdev.EV_ABS.ABS_Z]
82 value = evdev.value[libevdev.EV_ABS.ABS_RX]
93 value = evdev.value[libevdev.EV_ABS.ABS_RY]
102 value = evdev.value[libevdev.EV_ABS.ABS_RZ]
149 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
[all …]
H A Dtest_multitouch.py508 absinfo = evdev.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_X]
843 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
844 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 5
845 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TOOL_X] == 50
847 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TOOL_Y] == 100
875 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_DISTANCE] > 0
886 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_DISTANCE] == 0
893 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_DISTANCE] > 0
923 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 5
1747 if evdev.absinfo[libevdev.EV_ABS.ABS_MT_TOOL_TYPE] is not None:
[all …]
H A Dbase.py33 libevdev.EV_ABS.ABS_X,
34 libevdev.EV_ABS.ABS_Y,
35 libevdev.EV_ABS.ABS_RX,
36 libevdev.EV_ABS.ABS_RY,
45 libevdev.EV_ABS.ABS_RX,
46 libevdev.EV_ABS.ABS_RY,
89 libevdev.EV_ABS.ABS_X,
90 libevdev.EV_ABS.ABS_Y,
99 libevdev.EV_ABS.ABS_X,
100 libevdev.EV_ABS.ABS_Y,
[all …]
H A Dtest_wacom_generic.py648 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
649 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200),
657 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110),
658 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 220),
705 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
706 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200),
793 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100),
794 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200),
807 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110),
826 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL]
[all …]
/linux-6.15/drivers/hid/
H A Dhid-ntrig.c469 EV_ABS, ABS_MT_POSITION_X); in ntrig_input_mapping()
491 EV_ABS, ABS_MT_POSITION_Y); in ntrig_input_mapping()
526 EV_ABS, ABS_MT_TOUCH_MAJOR); in ntrig_input_mapping()
530 EV_ABS, ABS_MT_TOUCH_MINOR); in ntrig_input_mapping()
554 || usage->type == EV_ABS) in ntrig_input_mapped()
736 input_event(input, EV_ABS, in ntrig_event()
738 input_event(input, EV_ABS, in ntrig_event()
740 input_event(input, EV_ABS, in ntrig_event()
743 input_event(input, EV_ABS, in ntrig_event()
745 input_event(input, EV_ABS, in ntrig_event()
[all …]
H A Dhid-udraw-ps3.c311 input_dev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); in udraw_setup_touch()
338 input_dev->evbit[0] = BIT(EV_ABS) | BIT(EV_KEY); in udraw_setup_pen()
366 input_dev->evbit[0] = BIT(EV_ABS); in udraw_setup_accel()
389 input_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_ABS); in udraw_setup_joypad()
H A Dwacom_wac.c1902 case EV_ABS: in wacom_map_usage()
2000 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); in wacom_wac_pad_usage_mapping()
2005 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); in wacom_wac_pad_usage_mapping()
2010 wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); in wacom_wac_pad_usage_mapping()
2075 usage->type = EV_ABS; in wacom_wac_pad_usage_mapping()
2077 set_bit(EV_ABS, input->evbit); in wacom_wac_pad_usage_mapping()
2320 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 4); in wacom_wac_pen_usage_mapping()
2323 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 4); in wacom_wac_pen_usage_mapping()
2346 wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); in wacom_wac_pen_usage_mapping()
2659 wacom_map_usage(input, usage, field, EV_ABS, in wacom_wac_finger_usage_mapping()
[all …]
/linux-6.15/arch/arm/boot/dts/allwinner/
H A Dsun4i-a10-inet9f-rev03.dts69 linux,input-type = <EV_ABS>;
77 linux,input-type = <EV_ABS>;
85 linux,input-type = <EV_ABS>;
93 linux,input-type = <EV_ABS>;
101 linux,input-type = <EV_ABS>;
109 linux,input-type = <EV_ABS>;
117 linux,input-type = <EV_ABS>;
125 linux,input-type = <EV_ABS>;
133 linux,input-type = <EV_ABS>;
141 linux,input-type = <EV_ABS>;
[all …]
/linux-6.15/drivers/input/
H A Dinput-mt.c149 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state()
157 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state()
158 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state()
245 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation()
246 input_event(dev, EV_ABS, ABS_Y, y); in input_mt_report_pointer_emulation()
250 input_event(dev, EV_ABS, ABS_PRESSURE, p); in input_mt_report_pointer_emulation()
254 input_event(dev, EV_ABS, ABS_PRESSURE, 0); in input_mt_report_pointer_emulation()
268 input_handle_event(dev, EV_ABS, ABS_MT_SLOT, i); in __input_mt_drop_unused()
269 input_handle_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in __input_mt_drop_unused()
312 input_handle_event(dev, EV_ABS, ABS_PRESSURE, 0); in input_mt_release_slots()
H A Djoydev.c129 case EV_ABS: in joydev_event()
854 __set_bit(EV_ABS, jd_scratch); in joydev_dev_is_absolute_mouse()
1031 .evbit = { BIT_MASK(EV_ABS) },
1037 .evbit = { BIT_MASK(EV_ABS) },
1043 .evbit = { BIT_MASK(EV_ABS) },
1049 .evbit = { BIT_MASK(EV_ABS) },
H A Dinput.c56 [EV_ABS] = ABS_MAX,
260 case EV_ABS: in input_get_disposition()
328 v->type = EV_ABS; in input_event_dispose()
459 __set_bit(EV_ABS, dev->evbit); in input_set_abs_params()
491 if (WARN_ON(!(test_bit(EV_ABS, src->evbit) && in input_copy_abs()
503 input_set_capability(dst, EV_ABS, dst_axis); in input_copy_abs()
1149 if (test_bit(EV_ABS, dev->evbit)) in input_devices_seq_show()
1704 if (test_bit(EV_ABS, dev->evbit)) in input_dev_uevent()
2124 case EV_ABS: in input_set_capability()
2183 if (test_bit(EV_ABS, dev->evbit)) in input_estimate_events_per_packet()
[all …]
/linux-6.15/drivers/input/rmi4/
H A Drmi_2d_sensor.c98 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_X, obj->x); in rmi_2d_sensor_abs_report()
99 input_event(sensor->input, EV_ABS, ABS_MT_POSITION_Y, obj->y); in rmi_2d_sensor_abs_report()
100 input_event(sensor->input, EV_ABS, ABS_MT_ORIENTATION, wide); in rmi_2d_sensor_abs_report()
101 input_event(sensor->input, EV_ABS, ABS_MT_PRESSURE, obj->z); in rmi_2d_sensor_abs_report()
102 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in rmi_2d_sensor_abs_report()
103 input_event(sensor->input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in rmi_2d_sensor_abs_report()
155 set_bit(EV_ABS, input->evbit); in rmi_2d_sensor_set_input_params()
/linux-6.15/drivers/input/keyboard/
H A Dgpio_keys_polled.c56 } else if (type == EV_ABS) { in gpio_keys_button_event()
116 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll()
208 if (button->type != EV_ABS || button->code != code) in gpio_keys_polled_set_abs_params()
333 if (type == EV_ABS) in gpio_keys_polled_probe()
H A Dgoldfish_events.c26 PAGE_ABSDATA = 0x20000 | EV_ABS,
153 events_import_bits(edev, input_dev->absbit, EV_ABS, ABS_MAX); in events_probe()
/linux-6.15/drivers/input/touchscreen/
H A Dipaq-micro-ts.c104 input_set_capability(ts->input, EV_ABS, ABS_X); in micro_ts_probe()
105 input_set_capability(ts->input, EV_ABS, ABS_Y); in micro_ts_probe()
H A Dpenmount.c75 input_event(input, EV_ABS, ABS_MT_POSITION_X, pm->slots[i].x); in pm_mtevent()
76 input_event(input, EV_ABS, ABS_MT_POSITION_Y, pm->slots[i].y); in pm_mtevent()
222 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in pm_connect()
H A Dzet6223.c84 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, in zet6223_irq()
86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, in zet6223_irq()
H A Dchipone_icn8318.c207 input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); in icn8318_probe()
208 input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); in icn8318_probe()
H A Dcy8ctma140.c220 input_set_capability(input, EV_ABS, ABS_MT_POSITION_X); in cy8ctma140_probe()
221 input_set_capability(input, EV_ABS, ABS_MT_POSITION_Y); in cy8ctma140_probe()
H A Dhp680_ts_input.c85 hp680_ts_dev->evbit[0] = BIT_MASK(EV_ABS) | BIT_MASK(EV_KEY); in hp680_ts_init()
/linux-6.15/sound/usb/caiaq/
H A Dinput.c609 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
621 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
633 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
643 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
669 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
717 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
759 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in snd_usb_caiaq_input_init()
/linux-6.15/Documentation/devicetree/bindings/input/
H A Dgpio-keys.yaml63 If linux,input-type is EV_ABS or EV_REL then this
65 EV_ABS/EV_REL axis will generate an event with a value of 0
/linux-6.15/drivers/input/mouse/
H A Dvmmouse.c441 input_set_capability(abs_dev, EV_ABS, ABS_X); in vmmouse_init()
442 input_set_capability(abs_dev, EV_ABS, ABS_Y); in vmmouse_init()
H A Dtouchkit_ps2.c74 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in touchkit_ps2_detect()
/linux-6.15/include/linux/input/
H A Dmt.h87 input_event(dev, EV_ABS, ABS_MT_SLOT, slot); in input_mt_slot()

1234567