Home
last modified time | relevance | path

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

/linux-4.1.27/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-cypress.c64 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-lenovo.c120 hid_map_usage(hi, usage, bit, max, EV_REL, 0x06); in lenovo_input_mapping_cptkbd()
123 hid_map_usage(hi, usage, bit, max, EV_REL, 0x08); in lenovo_input_mapping_cptkbd()
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-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.c2153 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_intuos()
2271 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pentouch_input_capabilities()
2488 input_set_capability(input_dev, EV_REL, REL_WHEEL); in wacom_setup_pad_input_capabilities()
Dhid-logitech-hidpp.c718 __clear_bit(EV_REL, input_dev->evbit); in wtp_populate_input()
Dhid-input.c64 #define map_rel(c) hid_map_usage(hidinput, usage, &bit, &max, EV_REL, (c))
/linux-4.1.27/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()
Dmaplemouse.c91 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in probe_maple_mouse()
Dinport.c163 inport_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in inport_init()
Dlifebook.c297 dev2->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in lifebook_create_relative_device()
Dalps.c1355 input_set_capability(dev3, EV_REL, REL_X); in alps_register_bare_ps2_mouse()
1356 input_set_capability(dev3, EV_REL, REL_Y); in alps_register_bare_ps2_mouse()
2870 __clear_bit(EV_REL, dev1->evbit); in alps_init()
2888 dev1->evbit[BIT_WORD(EV_REL)] |= BIT_MASK(EV_REL); in alps_init()
2936 input_set_capability(dev2, EV_REL, REL_X); in alps_init()
2937 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.c322 __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()
Delantech.c1178 __clear_bit(EV_REL, dev->evbit); in elantech_set_input_params()
1695 tp_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in elantech_init()
Dsynaptics.c1184 __set_bit(EV_REL, dev->evbit); in set_input_params()
1242 __clear_bit(EV_REL, dev->evbit); in set_input_params()
Dcypress_ps2.c408 __clear_bit(EV_REL, input->evbit); in cypress_set_input_params()
Dsentelic.c966 __clear_bit(EV_REL, dev->evbit); in fsp_set_input_params()
Dhgpk.c563 __set_bit(EV_REL, input->evbit); in hgpk_setup_input_device()
Dpsmouse-base.c718 __set_bit(EV_REL, input_dev->evbit); in psmouse_apply_defaults()
/linux-4.1.27/drivers/input/misc/
Dxen-kbdfront.c174 input_set_capability(ptr, EV_REL, REL_X); in xenkbd_probe()
175 input_set_capability(ptr, EV_REL, REL_Y); in xenkbd_probe()
177 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()
Drotary_encoder.c229 input->evbit[0] = BIT_MASK(EV_REL); in rotary_encoder_probe()
Dbfin_rotary.c209 __set_bit(EV_REL, input->evbit); in bfin_rotary_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.1.27/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.c855 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in gc_setup_pad()
/linux-4.1.27/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.1.27/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.1.27/drivers/input/keyboard/
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.1.27/drivers/hid/usbhid/
Dusbmouse.c180 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in usb_mouse_probe()
/linux-4.1.27/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()
1156 if (test_bit(EV_REL, dev->evbit)) in input_devices_seq_show()
1601 if (test_bit(EV_REL, dev->evbit)) in input_dev_uevent()
1916 case EV_REL: in input_set_capability()
1994 if (test_bit(EV_REL, dev->evbit)) { in input_estimate_events_per_packet()
Devdev.c688 case EV_REL: bits = dev->relbit; len = REL_MAX; break; in handle_eviocgbit()
/linux-4.1.27/include/linux/
Dinput.h394 input_event(dev, EV_REL, code, value); in input_report_rel()
Dhid.h881 case EV_REL: in hid_map_usage()
/linux-4.1.27/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.1.27/drivers/virtio/
Dvirtio_input.c269 virtinput_cfg_bits(vi, VIRTIO_INPUT_CFG_EV_BITS, EV_REL, in virtinput_probe()
/linux-4.1.27/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.1.27/include/uapi/linux/
Dinput.h180 #define EV_REL 0x02 macro
/linux-4.1.27/drivers/char/
Dsonypi.c1178 jog_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in sonypi_create_input_devices()
/linux-4.1.27/net/bluetooth/hidp/
Dcore.c688 input->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in hidp_setup_input()
/linux-4.1.27/drivers/input/touchscreen/
Dcyttsp4_core.c1888 __set_bit(EV_REL, md->input->evbit); in cyttsp4_setup_input_device()
/linux-4.1.27/drivers/platform/x86/
Dsony-laptop.c517 input_set_capability(jog_dev, EV_REL, REL_WHEEL); in sony_laptop_setup_input()