Home
last modified time | relevance | path

Searched refs:EV_REL (Results 1 – 25 of 85) sorted by relevance

1234

/Linux-v5.15/drivers/hid/
Dhid-a4tech.c62 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_input_mapped()
85 if (usage->type == EV_REL && usage->code == REL_WHEEL_HI_RES) { in a4_event()
91 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event()
93 input_event(input, EV_REL, value ? REL_HWHEEL_HI_RES : in a4_event()
Dhid-speedlink.c64 { HID_GD_X, EV_REL, 0 },
65 { HID_GD_Y, EV_REL, 1 },
Dhid-ezkey.c22 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
55 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { in ez_event()
Dhid-lenovo.c207 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_cptkbd()
210 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd()
225 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_scrollpoint()
533 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
1175 if (test_bit(EV_REL, hi->input->evbit)) { in lenovo_input_configured()
Dhid-cypress.c92 if (usage->type == EV_REL && usage->code == REL_WHEEL) in cp_input_mapped()
Dhid-dr.c246 #define map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
/Linux-v5.15/drivers/input/mouse/
Dgpio_mouse.c122 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
123 input_set_capability(input, EV_REL, REL_Y); in gpio_mouse_probe()
Dpxa930_trkball.c205 input_set_capability(input, EV_REL, REL_X); in pxa930_trkball_probe()
206 input_set_capability(input, EV_REL, REL_Y); in pxa930_trkball_probe()
Dlifebook.c293 input_set_capability(dev2, EV_REL, REL_X); in lifebook_create_relative_device()
294 input_set_capability(dev2, EV_REL, REL_Y); in lifebook_create_relative_device()
Datarimouse.c130 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
Drpcmouse.c78 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
Dlogips2pp.c291 input_set_capability(input_dev, EV_REL, REL_WHEEL); in ps2pp_set_model_properties()
294 input_set_capability(input_dev, EV_REL, REL_HWHEEL); in ps2pp_set_model_properties()
Damimouse.c109 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
Dlogibm.c140 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
Dinport.c147 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
Dmaplemouse.c91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
/Linux-v5.15/drivers/input/misc/
Dxen-kbdfront.c310 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
311 input_set_capability(ptr, EV_REL, REL_Y); in xenkbd_probe()
313 input_set_capability(ptr, EV_REL, REL_WHEEL); in xenkbd_probe()
/Linux-v5.15/Documentation/input/
Duinput.rst135 ioctl(fd, UI_SET_EVBIT, EV_REL);
159 emit(fd, EV_REL, REL_X, 5);
160 emit(fd, EV_REL, REL_Y, 5);
Devent-codes.rst44 * EV_REL:
180 EV_REL section in Event codes
183 EV_REL events describe relative changes in a property. For example, a mouse may
186 instead of EV_REL codes.
188 A few EV_REL codes have special meanings:
/Linux-v5.15/tools/testing/selftests/bpf/
Dtest_lirc_mode2_user.c149 if (event.type == EV_REL && event.code == REL_Y && in main()
/Linux-v5.15/drivers/input/keyboard/
Dgpio_keys_polled.c51 if (type == EV_REL) { in gpio_keys_button_event()
111 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll()
Dpxa930_rotary.c140 __set_bit(EV_REL, input_dev->evbit); in pxa930_rotary_probe()
/Linux-v5.15/drivers/input/joystick/
Da3d.c311 BIT_MASK(EV_REL); in a3d_connect()
338 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in a3d_connect()
Dwarrior.c146 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect()
/Linux-v5.15/drivers/macintosh/
Dmac_hid.c50 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse()

1234