/openbmc/linux/tools/testing/selftests/hid/tests/ |
H A D | test_sony.py | 48 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 D | test_multitouch.py | 508 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 …]
|
H A D | base.py | 31 libevdev.EV_ABS.ABS_X, 32 libevdev.EV_ABS.ABS_Y, 33 libevdev.EV_ABS.ABS_RX, 34 libevdev.EV_ABS.ABS_RY, 43 libevdev.EV_ABS.ABS_RX, 44 libevdev.EV_ABS.ABS_RY, 78 libevdev.EV_ABS.ABS_DISTANCE, 87 libevdev.EV_ABS.ABS_X, 88 libevdev.EV_ABS.ABS_Y, 97 libevdev.EV_ABS.ABS_X, [all …]
|
H A D | test_wacom_generic.py | 647 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100), 648 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200), 656 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110), 657 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 220), 704 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100), 705 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200), 792 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 100), 793 libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 200), 806 libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 110), 825 info = evdev.absinfo[libevdev.EV_ABS.ABS_WHEEL] [all …]
|
H A D | test_tablet.py | 231 assert evdev.value[libevdev.EV_ABS.ABS_X] == self.x 232 assert evdev.value[libevdev.EV_ABS.ABS_Y] == self.y 590 assert evdev.value[libevdev.EV_ABS.ABS_X] == 50 591 assert evdev.value[libevdev.EV_ABS.ABS_Y] == 60 602 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 51) in events 603 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 59) in events 635 assert evdev.value[libevdev.EV_ABS.ABS_X] == 50 636 assert evdev.value[libevdev.EV_ABS.ABS_Y] == 60 652 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_X, 51) in events 653 assert libevdev.InputEvent(libevdev.EV_ABS.ABS_Y, 59) in events
|
/openbmc/linux/drivers/hid/ |
H A D | hid-ntrig.c | 469 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 D | hid-udraw-ps3.c | 311 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 D | wacom_wac.c | 1948 case EV_ABS: in wacom_map_usage() 2045 wacom_map_usage(input, usage, field, EV_ABS, ABS_X, 0); in wacom_wac_pad_usage_mapping() 2050 wacom_map_usage(input, usage, field, EV_ABS, ABS_Y, 0); in wacom_wac_pad_usage_mapping() 2055 wacom_map_usage(input, usage, field, EV_ABS, ABS_Z, 0); in wacom_wac_pad_usage_mapping() 2088 wacom_map_usage(input, usage, field, EV_ABS, ABS_RX, 0); in wacom_wac_pad_usage_mapping() 2092 wacom_map_usage(input, usage, field, EV_ABS, ABS_RY, 0); in wacom_wac_pad_usage_mapping() 2096 wacom_map_usage(input, usage, field, EV_ABS, ABS_WHEEL, 0); in wacom_wac_pad_usage_mapping() 2104 usage->type = EV_ABS; in wacom_wac_pad_usage_mapping() 2106 set_bit(EV_ABS, input->evbit); in wacom_wac_pad_usage_mapping() 2267 input_event(input, EV_ABS, ABS_MISC, active ? PAD_DEVICE_ID : 0); in wacom_wac_pad_report() [all …]
|
/openbmc/u-boot/arch/arm/dts/ |
H A D | sun4i-a10-inet9f-rev03.dts | 73 linux,input-type = <EV_ABS>; 81 linux,input-type = <EV_ABS>; 89 linux,input-type = <EV_ABS>; 97 linux,input-type = <EV_ABS>; 105 linux,input-type = <EV_ABS>; 113 linux,input-type = <EV_ABS>; 121 linux,input-type = <EV_ABS>; 129 linux,input-type = <EV_ABS>; 137 linux,input-type = <EV_ABS>; 145 linux,input-type = <EV_ABS>; [all …]
|
/openbmc/linux/arch/arm/boot/dts/allwinner/ |
H A D | sun4i-a10-inet9f-rev03.dts | 69 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 …]
|
/openbmc/linux/drivers/input/ |
H A D | input-mt.c | 152 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in input_mt_report_slot_state() 160 input_event(dev, EV_ABS, ABS_MT_TRACKING_ID, id); in input_mt_report_slot_state() 161 input_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, tool_type); in input_mt_report_slot_state() 248 input_event(dev, EV_ABS, ABS_X, x); in input_mt_report_pointer_emulation() 249 input_event(dev, EV_ABS, ABS_Y, y); in input_mt_report_pointer_emulation() 253 input_event(dev, EV_ABS, ABS_PRESSURE, p); in input_mt_report_pointer_emulation() 257 input_event(dev, EV_ABS, ABS_PRESSURE, 0); in input_mt_report_pointer_emulation() 271 input_handle_event(dev, EV_ABS, ABS_MT_SLOT, i); in __input_mt_drop_unused() 272 input_handle_event(dev, EV_ABS, ABS_MT_TRACKING_ID, -1); in __input_mt_drop_unused() 319 input_handle_event(dev, EV_ABS, ABS_PRESSURE, 0); in input_mt_release_slots()
|
H A D | joydev.c | 129 case EV_ABS: in joydev_event() 855 __set_bit(EV_ABS, jd_scratch); in joydev_dev_is_absolute_mouse() 1032 .evbit = { BIT_MASK(EV_ABS) }, 1038 .evbit = { BIT_MASK(EV_ABS) }, 1044 .evbit = { BIT_MASK(EV_ABS) }, 1050 .evbit = { BIT_MASK(EV_ABS) },
|
/openbmc/linux/drivers/input/rmi4/ |
H A D | rmi_2d_sensor.c | 98 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()
|
/openbmc/qemu/hw/input/ |
H A D | virtio-input-hid.c | 143 event.type = cpu_to_le16(EV_ABS); in virtio_input_handle_event() 151 event.type = cpu_to_le16(EV_ABS); in virtio_input_handle_event() 156 event.type = cpu_to_le16(EV_ABS); in virtio_input_handle_event() 160 event.type = cpu_to_le16(EV_ABS); in virtio_input_handle_event() 442 .subsel = EV_ABS, 479 .subsel = EV_ABS, 617 VIRTIO_INPUT_CFG_EV_BITS, EV_ABS); in virtio_multitouch_init()
|
H A D | virtio-input-host.c | 154 virtio_input_bits_config(vih, EV_ABS, ABS_CNT); in virtio_input_host_realize() 160 VIRTIO_INPUT_CFG_EV_BITS, EV_ABS); in virtio_input_host_realize()
|
/openbmc/openbmc/poky/meta/recipes-core/udev/eudev/ |
H A D | local.rules | 17 # Trigger based on input type, that the evbit (-e) has EV_SYN and EV_ABS, 18 # has an EV_ABS value (-a) which is used for touchscreen type devices.
|
/openbmc/linux/drivers/input/keyboard/ |
H A D | gpio_keys_polled.c | 56 } else if (type == EV_ABS) { in gpio_keys_button_event() 116 input_event(input, EV_ABS, i, 0); in gpio_keys_polled_poll() 210 if (button->type != EV_ABS || button->code != code) in gpio_keys_polled_set_abs_params() 337 if (type == EV_ABS) in gpio_keys_polled_probe()
|
H A D | goldfish_events.c | 26 PAGE_ABSDATA = 0x20000 | EV_ABS, 153 events_import_bits(edev, input_dev->absbit, EV_ABS, ABS_MAX); in events_probe()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ipaq-micro-ts.c | 104 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 D | penmount.c | 75 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 D | chipone_icn8318.c | 207 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 D | zet6223.c | 86 input_event(ts->input, EV_ABS, ABS_MT_POSITION_X, in zet6223_irq() 88 input_event(ts->input, EV_ABS, ABS_MT_POSITION_Y, in zet6223_irq()
|
H A D | cy8ctma140.c | 220 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()
|
/openbmc/linux/sound/usb/caiaq/ |
H A D | input.c | 609 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()
|
/openbmc/qemu/ui/ |
H A D | input-linux.c | 245 case EV_ABS: in input_linux_handle_mouse() 346 if (evtmap & (1 << EV_ABS)) { in input_linux_complete() 348 rc = ioctl(il->fd, EVIOCGBIT(EV_ABS, sizeof(absmap)), &absmap); in input_linux_complete()
|