Home
last modified time | relevance | path

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

123456

/linux/tools/testing/selftests/hid/tests/
H A Dtest_sony.py49 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X) in events
50 value = evdev.value[libevdev.EV_ABS.ABS_X]
60 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Y) in events
61 value = evdev.value[libevdev.EV_ABS.ABS_Y]
69 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Z) in events
70 value = evdev.value[libevdev.EV_ABS.ABS_Z]
82 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RX) in events
83 value = evdev.value[libevdev.EV_ABS.ABS_RX]
93 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_RY) in events
94 value = evdev.value[libevdev.EV_ABS.ABS_RY]
[all …]
H A Dbase.py34 libevdev.EV_ABS.ABS_X,
35 libevdev.EV_ABS.ABS_Y,
36 libevdev.EV_ABS.ABS_RX,
37 libevdev.EV_ABS.ABS_RY,
46 libevdev.EV_ABS.ABS_RX,
47 libevdev.EV_ABS.ABS_RY,
81 libevdev.EV_ABS.ABS_DISTANCE,
90 libevdev.EV_ABS.ABS_X,
91 libevdev.EV_ABS.ABS_Y,
100 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.c472 EV_ABS, ABS_MT_POSITION_X); in ntrig_input_mapping()
494 EV_ABS, ABS_MT_POSITION_Y); in ntrig_input_mapping()
529 EV_ABS, ABS_MT_TOUCH_MAJOR); in ntrig_input_mapping()
533 EV_ABS, ABS_MT_TOUCH_MINOR); in ntrig_input_mapping()
557 || usage->type == EV_ABS) in ntrig_input_mapped()
633 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
634 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
726 input_event(input, EV_ABS, ABS_X, nd->x); in ntrig_event()
727 input_event(input, EV_ABS, ABS_Y, nd->y); in ntrig_event()
731 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 Dwacom_wac.c1903 case EV_ABS: in wacom_map_usage()
2001 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); in wacom_wac_pad_usage_mapping()
2006 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); in wacom_wac_pad_usage_mapping()
2011 wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); in wacom_wac_pad_usage_mapping()
2044 wacom_map_usage(input, usage, field, EV_ABS, ABS_RX, 0); in wacom_wac_pad_usage_mapping()
2048 wacom_map_usage(input, usage, field, EV_ABS, ABS_RY, 0); in wacom_wac_pad_usage_mapping()
2065 wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); in wacom_wac_pad_usage_mapping()
2067 wacom_map_usage(input, usage, field, EV_ABS, ABS_THROTTLE, 0); in wacom_wac_pad_usage_mapping()
2076 usage->type = EV_ABS; in wacom_wac_pad_usage_mapping()
2078 set_bit(EV_ABS, input->evbit); in wacom_wac_pad_usage_mapping()
[all …]
H A Dhid-multitouch.c1193 input_event(input, EV_ABS, ABS_MT_POSITION_X, x); in mt_process_slot()
1194 input_event(input, EV_ABS, ABS_MT_POSITION_Y, y); in mt_process_slot()
1195 input_event(input, EV_ABS, ABS_MT_TOOL_X, cx); in mt_process_slot()
1196 input_event(input, EV_ABS, ABS_MT_TOOL_Y, cy); in mt_process_slot()
1197 input_event(input, EV_ABS, ABS_MT_DISTANCE, !*slot->tip_state); in mt_process_slot()
1198 input_event(input, EV_ABS, ABS_MT_ORIENTATION, orientation); in mt_process_slot()
1199 input_event(input, EV_ABS, ABS_MT_PRESSURE, *slot->p); in mt_process_slot()
1200 input_event(input, EV_ABS, ABS_MT_TOUCH_MAJOR, major); in mt_process_slot()
1201 input_event(input, EV_ABS, ABS_MT_TOUCH_MINOR, minor); in mt_process_slot()
/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/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()
H A Dimagis.c243 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_X); in imagis_init_input_dev()
244 input_set_capability(input_dev, EV_ABS, ABS_MT_POSITION_Y); in imagis_init_input_dev()
/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