Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/hid/
Dhid-a4tech.c41 if (usage->type == EV_REL && usage->code == REL_WHEEL) in a4_input_mapped()
63 if (usage->type == EV_REL && usage->code == REL_WHEEL) { in a4_event()
69 input_event(input, EV_REL, value ? REL_HWHEEL : in a4_event()
Dhid-speedlink.c67 { HID_GD_X, EV_REL, 0 },
68 { HID_GD_Y, EV_REL, 1 },
Dhid-ezkey.c25 #define ez_map_rel(c) hid_map_usage(hi, usage, bit, max, EV_REL, (c))
58 if (usage->type == EV_REL && usage->code == REL_HWHEEL) { in ez_event()
Dhid-lenovo.c150 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in lenovo_input_mapping_cptkbd()
153 hid_map_usage(hi, usage, bit, max, EV_REL, REL_WHEEL); in lenovo_input_mapping_cptkbd()
326 if (usage->type == EV_REL && (usage->code == REL_WHEEL || in lenovo_event_cptkbd()
858 if (test_bit(EV_REL, hi->input->evbit)) { in lenovo_input_configured()
Dhid-cypress.c60 if (usage->type == EV_REL && usage->code == REL_WHEEL) in cp_input_mapped()
Dhid-microsoft.c95 hid_map_usage_clear(hi, usage, bit, max, EV_REL, REL_WHEEL); in ms_ergonomy_kb_quirk()
Dhid-debug.c730 [EV_REL] = "Relative", [EV_ABS] = "Absolute",
1015 [EV_REL] = relatives, [EV_ABS] = absolutes,
Dhid-lg.c615 usage->type == EV_REL || usage->type == EV_ABS)) in lg_input_mapped()
Dhid-magicmouse.c375 __set_bit(EV_REL, input->evbit); in magicmouse_setup_input()
Dhid-logitech-hidpp.c775 __clear_bit(EV_REL, input_dev->evbit); in wtp_populate_input()
1177 __set_bit(EV_REL, mydata->input->evbit); in m560_populate_input()
Dhid-apple.c356 hid_map_usage(hi, usage, bit, max, EV_REL, REL_HWHEEL); in apple_input_mapped()
Dhid-ntrig.c557 if (usage->type == EV_KEY || usage->type == EV_REL in ntrig_input_mapped()
Dwacom_wac.c2438 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_intuos()
2580 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pen_input_capabilities()
2862 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pad_input_capabilities()
Dhid-input.c64 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dgpio-keys-polled.txt21 - linux,input-value: If linux,input-type is EV_ABS or EV_REL then this
23 EV_ABS/EV_REL axis will generate an event with a value of 0 when
/linux-4.4.14/drivers/input/mouse/
Dgpio_mouse.c115 input_set_capability(input, EV_REL, REL_X); in gpio_mouse_probe()
116 input_set_capability(input, EV_REL, REL_Y); in gpio_mouse_probe()
Dpxa930_trkball.c210 input_set_capability(input, EV_REL, REL_X); in pxa930_trkball_probe()
211 input_set_capability(input, EV_REL, REL_Y); in pxa930_trkball_probe()
Datarimouse.c135 atamouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in atamouse_init()
Drpcmouse.c81 rpcmouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in rpcmouse_init()
Damimouse.c113 dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in amimouse_probe()
Dlogibm.c156 logibm_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in logibm_init()
Dinport.c163 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()
Dlifebook.c297 dev2->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in lifebook_create_relative_device()
Dalps.c1363 input_set_capability(dev3, EV_REL, REL_X); in alps_register_bare_ps2_mouse()
1364 input_set_capability(dev3, EV_REL, REL_Y); in alps_register_bare_ps2_mouse()
2878 __clear_bit(EV_REL, dev1->evbit); in alps_init()
2896 dev1->evbit[BIT_WORD(EV_REL)] |= BIT_MASK(EV_REL); in alps_init()
2944 input_set_capability(dev2, EV_REL, REL_X); in alps_init()
2945 input_set_capability(dev2, EV_REL, REL_Y); in alps_init()
Dsermouse.c268 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in sermouse_connect()
Dfocaltech.c334 __clear_bit(EV_REL, dev->evbit); in focaltech_set_input_params()
Dvmmouse.c490 input_set_capability(rel_dev, EV_REL, REL_WHEEL); in vmmouse_init()
Dvsxxxaa.c491 __set_bit(EV_REL, input_dev->evbit); in vsxxxaa_connect()
Dsynaptics_i2c.c511 __set_bit(EV_REL, input->evbit); in synaptics_i2c_set_input_params()
Dsynaptics_usb.c387 __set_bit(EV_REL, input_dev->evbit); in synusb_probe()
Dsynaptics.c1184 __set_bit(EV_REL, dev->evbit); in set_input_params()
1242 __clear_bit(EV_REL, dev->evbit); in set_input_params()
Delantech.c1186 __clear_bit(EV_REL, dev->evbit); in elantech_set_input_params()
1723 tp_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in elantech_init()
Dcypress_ps2.c408 __clear_bit(EV_REL, input->evbit); in cypress_set_input_params()
Dhgpk.c563 __set_bit(EV_REL, input->evbit); in hgpk_setup_input_device()
Dsentelic.c968 __clear_bit(EV_REL, dev->evbit); in fsp_set_input_params()
Dpsmouse-base.c718 __set_bit(EV_REL, input_dev->evbit); in psmouse_apply_defaults()
/linux-4.4.14/drivers/input/misc/
Dxen-kbdfront.c180 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
181 input_set_capability(ptr, EV_REL, REL_Y); in xenkbd_probe()
183 input_set_capability(ptr, EV_REL, REL_WHEEL); in xenkbd_probe()
Dati_remote2.c336 input_event(idev, EV_REL, REL_X, (s8) data[1]); in ati_remote2_input_mouse()
337 input_event(idev, EV_REL, REL_Y, (s8) data[2]); in ati_remote2_input_mouse()
585 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) | BIT_MASK(EV_REL); in ati_remote2_input_init()
Dbfin_rotary.c209 __set_bit(EV_REL, input->evbit); in bfin_rotary_probe()
Drotary_encoder.c295 input->evbit[0] = BIT_MASK(EV_REL); in rotary_encoder_probe()
Dpowermate.c368 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in powermate_probe()
Dadxl34x.c762 if (ac->pdata.ev_type == EV_REL) { in adxl34x_probe()
/linux-4.4.14/drivers/input/keyboard/
Dgpio_keys_polled.c56 if (type == EV_REL) { in gpio_keys_button_event()
116 input_event(input, EV_REL, i, 0); in gpio_keys_polled_poll()
Dpxa930_rotary.c145 __set_bit(EV_REL, input_dev->evbit); in pxa930_rotary_probe()
Dgoldfish_events.c159 events_import_bits(edev, input_dev->relbit, EV_REL, REL_MAX); in events_probe()
Dhil_kbd.c366 input_dev->evbit[0] = BIT_MASK(EV_REL); in hil_dev_pointer_setup()
Dpxa27x_keypad.c797 input_dev->evbit[0] |= BIT_MASK(EV_REL); in pxa27x_keypad_probe()
Datkbd.c1107 input_dev->evbit[0] |= BIT_MASK(EV_REL); in atkbd_set_device_attrs()
/linux-4.4.14/drivers/input/joystick/
Da3d.c327 BIT_MASK(EV_REL); in a3d_connect()
354 input_dev->evbit[0] |= BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in a3d_connect()
Dwarrior.c162 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) | in warrior_connect()
Dgamecon.c856 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in gc_setup_pad()
/linux-4.4.14/Documentation/input/
Devent-codes.txt34 * EV_REL:
150 EV_REL:
152 EV_REL events describe relative changes in a property. For example, a mouse may
155 instead of EV_REL codes.
157 A few EV_REL codes have special meanings:
Dinput-programming.txt182 In addition to EV_KEY, there are two more basic event types: EV_REL and
190 Having the device report EV_REL buttons is as simple as with EV_KEY, simply
Dinput.txt281 Type is for example EV_REL for relative moment, EV_KEY for a keypress or
288 EV_REL, absolute new value for EV_ABS (joysticks ...), or 0 for EV_KEY for
/linux-4.4.14/drivers/macintosh/
Dmac_hid.c49 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse()
Dadbhid.c848 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in adbhid_input_register()
/linux-4.4.14/drivers/hid/usbhid/
Dusbmouse.c180 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in usb_mouse_probe()
/linux-4.4.14/drivers/input/
Dmousedev.c369 case EV_REL: in mousedev_event()
1010 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
1018 .evbit = { BIT_MASK(EV_KEY) | BIT_MASK(EV_REL) },
Dinput.c320 case EV_REL: in input_get_disposition()
1159 if (test_bit(EV_REL, dev->evbit)) in input_devices_seq_show()
1604 if (test_bit(EV_REL, dev->evbit)) in input_dev_uevent()
1916 case EV_REL: in input_set_capability()
1987 if (test_bit(EV_REL, dev->evbit)) in input_estimate_events_per_packet()
Devdev.c72 [EV_REL] = REL_CNT, in evdev_get_mask_cnt()
817 case EV_REL: bits = dev->relbit; len = REL_MAX; break; in handle_eviocgbit()
/linux-4.4.14/include/linux/
Dinput.h394 input_event(dev, EV_REL, code, value); in input_report_rel()
Dhid.h883 case EV_REL: in hid_map_usage()
/linux-4.4.14/arch/arm/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/arch/cris/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/arch/metag/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/arch/arm64/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/arch/powerpc/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/include/uapi/linux/
Dinput-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/arch/mips/boot/dts/include/dt-bindings/input/
Dlinux-event-codes.h39 #define EV_REL 0x02 macro
/linux-4.4.14/drivers/media/rc/
Dir-mce_kbd-decoder.c381 set_bit(EV_REL, idev->evbit); in ir_mce_kbd_register()
Dati_remote.c735 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in ati_remote_input_init()
Dimon.c2029 idev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REP) | BIT_MASK(EV_REL); in imon_init_idev()
/linux-4.4.14/drivers/virtio/
Dvirtio_input.c269 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_REL, in virtinput_probe()
/linux-4.4.14/drivers/input/tablet/
Dwacom_serial4.c544 BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS) | BIT_MASK(EV_REL); in wacom_connect()
Daiptek.c330 EV_KEY, EV_ABS, EV_REL, EV_MSC,
/linux-4.4.14/drivers/staging/unisys/visorinput/
Dvisorinput.c344 input_set_capability(visorinput_dev, EV_REL, REL_WHEEL); in register_client_mouse()
/linux-4.4.14/drivers/char/
Dsonypi.c1178 jog_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in sonypi_create_input_devices()
/linux-4.4.14/net/bluetooth/hidp/
Dcore.c688 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in hidp_setup_input()
/linux-4.4.14/drivers/input/touchscreen/
Dcyttsp4_core.c1885 __set_bit(EV_REL, md->input->evbit); in cyttsp4_setup_input_device()
/linux-4.4.14/drivers/platform/x86/
Dsony-laptop.c518 input_set_capability(jog_dev, EV_REL, REL_WHEEL); in sony_laptop_setup_input()