Home
last modified time | relevance | path

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

123

/linux/tools/testing/selftests/hid/tests/
H A Dtest_mouse.py20 libevdev.EV_REL.REL_WHEEL_HI_RES
22 libevdev.EV_REL.REL_WHEEL_HI_RES = libevdev.EV_REL.REL_0B
23 libevdev.EV_REL.REL_HWHEEL_HI_RES = libevdev.EV_REL.REL_0C
685 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_Y, -1)
691 expected_event = libevdev.InputEvent(libevdev.EV_REL.REL_X, 1)
697 expected_event0 = libevdev.InputEvent(libevdev.EV_REL.REL_X, -1)
698 expected_event1 = libevdev.InputEvent(libevdev.EV_REL.REL_Y, 2)
751 assert evdev.has(libevdev.EV_REL
[all...]
H A Dbase.py66 libevdev.EV_REL.REL_X,
67 libevdev.EV_REL.REL_Y,
166 rel_event = libevdev.InputEvent(libevdev.EV_REL) # type: ignore
/linux/drivers/hid/
H A 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()
H A Dhid-speedlink.c64 { HID_GD_X, EV_REL, 0 },
65 { HID_GD_Y, EV_REL, 1 },
H A 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()
H A Dhid-cypress.c92 if (usage->type == EV_REL && usage->code == REL_WHEEL) in cp_input_mapped()
H A Dhid-dr.c246 #define map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
/linux/drivers/input/mouse/
H A 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()
H A 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()
H A Datarimouse.c130 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
H A Drpcmouse.c78 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
H A 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()
H A Damimouse.c109 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
H A Dlogibm.c137 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
H A Dinport.c144 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
/linux/drivers/input/misc/
H A 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()
H A Dadxl34x.c228 .ev_code_x = ABS_X, /* EV_REL */
229 .ev_code_y = ABS_Y, /* EV_REL */
230 .ev_code_z = ABS_Z, /* EV_REL */
749 if (ac->pdata.ev_type == EV_REL) { in adxl34x_probe()
750 input_set_capability(input_dev, EV_REL, REL_X); in adxl34x_probe()
751 input_set_capability(input_dev, EV_REL, REL_Y); in adxl34x_probe()
752 input_set_capability(input_dev, EV_REL, REL_Z); in adxl34x_probe()
H A Dati_remote2.c302 input_event(idev, EV_REL, REL_X, (s8) data[1]); in ati_remote2_input_mouse()
303 input_event(idev, EV_REL, REL_Y, (s8) data[2]); in ati_remote2_input_mouse()
551 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) | BIT_MASK(EV_REL); in ati_remote2_input_init()
/linux/Documentation/input/
H A 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);
H A Devent-codes.rst44 * EV_REL:
184 EV_REL section in Event codes
187 EV_REL events describe relative changes in a property. For example, a mouse may
190 instead of EV_REL codes.
192 A few EV_REL codes have special meanings:
/linux/tools/testing/selftests/bpf/
H A Dtest_lirc_mode2_user.c150 if (event.type == EV_REL && event.code == REL_Y && in main()
/linux/drivers/leds/trigger/
H A Dledtrig-input-events.c117 .evbit = { BIT_MASK(EV_REL) },
/linux/drivers/input/joystick/
H A Da3d.c308 BIT_MASK(EV_REL); in a3d_connect()
335 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in a3d_connect()
H A Dwarrior.c143 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect()
/linux/drivers/macintosh/
H A Dmac_hid.c51 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse()

123