Home
last modified time | relevance | path

Searched full:ev_abs (Results 1 – 25 of 147) sorted by relevance

123456

/linux/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]
81 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RX) in events
82 value = evdev.value[libevdev.EV_ABS.ABS_RX]
92 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RY) in events
93 value = evdev.value[libevdev.EV_ABS.ABS_RY]
[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,
80 libevdev.EV_ABS.ABS_DISTANCE,
89 libevdev.EV_ABS.ABS_X,
90 libevdev.EV_ABS.ABS_Y,
99 libevdev.EV_ABS.ABS_X,
[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 …]
H A Dtest_multitouch.py508 absinfo = evdev.absinfo[libevdev.EV_ABS.ABS_MT_POSITION_X]
550 assert evdev.slots[0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
551 assert evdev.slots[1][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
553 assert evdev.slots[2][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
598 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
599 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
600 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_POSITION_Y] == 100
609 assert evdev.slots[slot][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == -1
638 assert evdev.slots[slot0][libevdev.EV_ABS.ABS_MT_TRACKING_ID] == 0
639 assert evdev.slots[slot0][libevdev.EV_ABS.ABS_MT_POSITION_X] == 50
[all …]
/linux/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/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()
630 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
631 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
723 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
724 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
728 input_event(input, EV_ABS, ABS_MT_POSITION_X, nd->x); 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 Dhid-multitouch.c1153 input_event(input, EV_ABS, ABS_MT_POSITION_X, x); in mt_process_slot()
1154 input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); in mt_process_slot()
1155 input_event(input, EV_ABS, ABS_MT_TOOL_X, cx); in mt_process_slot()
1156 input_event(input, EV_ABS, ABS_MT_TOOL_Y, cy); in mt_process_slot()
1157 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); in mt_process_slot()
1158 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot()
1159 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot()
1160 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in mt_process_slot()
1161 input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in mt_process_slot()
/linux/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/include/linux/
H A Dgpio_keys.h16 * @type: input event type (%EV_KEY, %EV_SW, %EV_ABS)
22 * @value: axis value for %EV_ABS
/linux/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/drivers/input/
H A Djoydev.c129 case EV_ABS: in joydev_event()
842 * EV_ABS, EV_KEY and EV_SYN in joydev_dev_is_absolute_mouse()
844 * EV_ABS, EV_KEY, EV_SYN and EV_MSC in joydev_dev_is_absolute_mouse()
846 * EV_ABS, EV_KEY, EV_SYN, EV_MSC and EV_REL. in joydev_dev_is_absolute_mouse()
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) },
/linux/Documentation/input/
H A Devent-codes.rst49 * EV_ABS:
189 space is unknown. If the absolute position is known, EV_ABS codes should be used
218 EV_ABS section in Event codes
221 EV_ABS events describe absolute changes in a property. For example, a touchpad
224 A few EV_ABS codes have special meanings:
/linux/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
H A Dinput.yaml39 - 3 # EV_ABS
/linux/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 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 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 Dhimax_hx83112b.c192 input_set_capability(ts->input_dev, EV_ABS, ABS_MT_POSITION_X); in himax_input_register()
193 input_set_capability(ts->input_dev, EV_ABS, ABS_MT_POSITION_Y); in himax_input_register()
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/Documentation/devicetree/bindings/input/touchscreen/
H A Dcypress,tt21000.yaml44 description: EV_ABS specific event code generated by the axis.
/linux/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()

123456