/linux-4.4.14/drivers/input/mouse/ |
D | sermouse.c | 73 input_report_key(dev, BTN_MIDDLE, !(data & 2)); in sermouse_process_msc() 132 input_report_key(dev, BTN_MIDDLE, !test_bit(BTN_MIDDLE, dev->key)); in sermouse_process_ms() 150 input_report_key(dev, BTN_MIDDLE, (data >> 5) & 1); in sermouse_process_ms() 159 input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1); in sermouse_process_ms() 273 if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit); in sermouse_connect()
|
D | atarimouse.c | 86 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt() 138 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
|
D | rpcmouse.c | 57 input_report_key(dev, BTN_MIDDLE, b & 0x20); in rpcmouse_irq() 83 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init()
|
D | amimouse.c | 66 input_report_key(dev, BTN_MIDDLE, potgor & 0x0100); in amimouse_interrupt() 116 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
|
D | vsxxxaa.c | 256 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_REL_packet() 308 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_ABS_packet() 361 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_POR_packet() 494 __set_bit(BTN_MIDDLE, input_dev->keybit); in vsxxxaa_connect()
|
D | logibm.c | 96 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt() 158 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
|
D | inport.c | 102 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt() 165 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init()
|
D | maplemouse.c | 40 input_report_key(dev, BTN_MIDDLE, buttons & 9); in dc_mouse_callback() 93 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in probe_maple_mouse()
|
D | gpio_mouse.c | 32 input_report_key(input, BTN_MIDDLE, in gpio_mouse_scan() 120 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe()
|
D | alps.c | 232 dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; in alps_report_buttons() 233 input_report_key(dev, BTN_MIDDLE, middle); in alps_report_buttons() 543 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_report_semi_mt_data() 610 input_report_key(dev, BTN_MIDDLE, middle); in alps_process_trackstick_packet_v3() 792 input_report_key(dev2, BTN_MIDDLE, f->ts_middle); in alps_process_touchpad_packet_v3_v5() 857 input_report_key(dev2, BTN_MIDDLE, middle); in alps_process_packet_v6() 1117 input_report_key(dev2, BTN_MIDDLE, middle); in alps_process_trackstick_packet_v7() 1139 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_touchpad_packet_v7() 1309 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_packet_ss4_v2() 1367 input_set_capability(dev3, EV_KEY, BTN_MIDDLE); in alps_register_bare_ps2_mouse() [all …]
|
D | synaptics_usb.c | 100 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x02); in synusb_report_buttons() 183 input_report_key(input_dev, BTN_MIDDLE, synusb->data[1] & 0x08); in synusb_report_touchpad() 412 __set_bit(BTN_MIDDLE, input_dev->keybit); in synusb_probe()
|
D | psmouse-base.c | 205 input_report_key(dev, BTN_MIDDLE, (packet[0] >> 2) & 1); in psmouse_process_byte() 538 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in genius_detect() 571 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in intellimouse_detect() 614 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in im_explorer_detect() 654 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in thinking_detect() 679 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in ps2bare_detect() 695 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in cortron_detect()
|
D | logips2pp.c | 98 input_report_key(dev, BTN_MIDDLE, (packet[0] >> 2) & 1); in ps2pp_process_byte() 417 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in ps2pp_init()
|
D | vmmouse.c | 207 pref_dev, BTN_MIDDLE, in vmmouse_report_events() 479 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
|
D | elantech.c | 443 input_report_key(tp_dev, BTN_MIDDLE, packet[0] & 0x04); in elantech_report_trackpoint() 558 input_report_key(dev, BTN_MIDDLE, packet[0] & 0x04); in elantech_input_sync_v4() 1190 __set_bit(BTN_MIDDLE, dev->keybit); in elantech_set_input_params() 1727 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in elantech_init()
|
D | cypress_ps2.c | 415 __set_bit(BTN_MIDDLE, input->keybit); in cypress_set_input_params() 558 input_report_key(input, BTN_MIDDLE, report_data.middle); in cypress_process_packet()
|
D | focaltech.c | 338 __clear_bit(BTN_MIDDLE, dev->keybit); in focaltech_set_input_params()
|
D | sentelic.c | 844 input_report_key(dev, BTN_MIDDLE, (packet[0] >> 2) & 1); in fsp_process_byte() 948 __set_bit(BTN_MIDDLE, dev->keybit); in fsp_set_input_params()
|
D | synaptics.c | 907 input_report_key(dev, BTN_MIDDLE, hw->middle); in synaptics_report_buttons() 1180 __set_bit(BTN_MIDDLE, dev->keybit); in set_input_params() 1253 __clear_bit(BTN_MIDDLE, dev->keybit); in set_input_params()
|
D | trackpoint.c | 398 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in trackpoint_detect()
|
D | cyapa_gen3.c | 1215 input_report_key(input, BTN_MIDDLE, in cyapa_gen3_irq_handler()
|
D | cyapa.c | 498 __set_bit(BTN_MIDDLE, input->keybit); in cyapa_create_input_dev()
|
D | cyapa_gen5.c | 2635 input_report_key(input, BTN_MIDDLE, in cyapa_pip_report_buttons()
|
/linux-4.4.14/drivers/input/joystick/ |
D | a3d.c | 128 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 148 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 334 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in a3d_connect() 357 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE); in a3d_connect()
|
D | amijoy.c | 142 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
|
/linux-4.4.14/drivers/macintosh/ |
D | mac_hid.c | 51 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in mac_hid_create_emumouse() 80 btn = BTN_MIDDLE; in mac_hid_emumouse_filter()
|
D | adbhid.c | 489 input_report_key(adbhid[id]->input, BTN_MIDDLE, !((data[2] >> 7) & 1)); in adbhid_mouse_input() 850 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in adbhid_input_register()
|
/linux-4.4.14/drivers/hid/ |
D | hid-kensington.c | 31 case 0x01: ks_map_key(BTN_MIDDLE); break; in ks_input_mapping()
|
D | hid-magicmouse.c | 148 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons() 171 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 373 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 389 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
|
D | hid-lenovo.c | 126 map_key_clear(BTN_MIDDLE); in lenovo_input_mapping_cptkbd() 334 if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { in lenovo_event_cptkbd() 341 EV_KEY, BTN_MIDDLE, 1); in lenovo_event_cptkbd() 344 EV_KEY, BTN_MIDDLE, 0); in lenovo_event_cptkbd()
|
D | wacom_wac.c | 322 input_report_key(input, BTN_MIDDLE, data[1] & 0x04); in wacom_graphire_irq() 357 input_report_key(input, BTN_MIDDLE, in wacom_graphire_irq() 602 input_report_key(input, BTN_MIDDLE, 0); in wacom_intuos_inout() 1092 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_irq() 1104 input_report_key(input, BTN_MIDDLE, data[6] & 0x02); in wacom_intuos_irq() 1117 input_report_key(input, BTN_MIDDLE, data[8] & 0x08); in wacom_intuos_irq() 1134 input_report_key(input, BTN_MIDDLE, data[8] & 0x02); in wacom_intuos_irq() 2444 __set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_setup_intuos() 2584 __set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_setup_pen_input_capabilities()
|
D | hid-logitech-hidpp.c | 1107 input_report_key(mydata->input, BTN_MIDDLE, 1); in m560_raw_event() 1118 input_report_key(mydata->input, BTN_MIDDLE, 0); in m560_raw_event() 1171 __set_bit(BTN_MIDDLE, mydata->input->keybit); in m560_populate_input()
|
D | hid-debug.c | 861 [BTN_MIDDLE] = "MiddleBtn", [BTN_SIDE] = "SideBtn",
|
/linux-4.4.14/drivers/hid/usbhid/ |
D | usbmouse.c | 83 input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); in usb_mouse_irq() 182 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in usb_mouse_probe()
|
/linux-4.4.14/arch/arm/mach-imx/ |
D | mach-pcm037_eet.c | 142 .code = BTN_MIDDLE,
|
/linux-4.4.14/drivers/misc/ibmasm/ |
D | remote.c | 165 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event() 231 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in ibmasm_init_remote_input_dev()
|
/linux-4.4.14/drivers/input/tablet/ |
D | wacom_serial4.c | 359 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet() 553 set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_connect()
|
D | aiptek.c | 343 BTN_LEFT, BTN_RIGHT, BTN_MIDDLE, 497 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq() 647 input_report_key(inputdev, BTN_MIDDLE, middle); in aiptek_irq()
|
/linux-4.4.14/drivers/staging/unisys/visorinput/ |
D | visorinput.c | 321 set_bit(BTN_MIDDLE, visorinput_dev->keybit); in register_client_mouse() 507 return BTN_MIDDLE; in calc_button()
|
/linux-4.4.14/arch/arm/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/arch/cris/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/arch/metag/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/arch/arm64/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/arch/powerpc/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/include/uapi/linux/ |
D | input-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/arch/mips/boot/dts/include/dt-bindings/input/ |
D | linux-event-codes.h | 356 #define BTN_MIDDLE 0x112 macro
|
/linux-4.4.14/drivers/char/ |
D | sonypi.c | 809 kp.key = BTN_MIDDLE; in sonypi_report_input_event() 1179 jog_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_MIDDLE); in sonypi_create_input_devices()
|
/linux-4.4.14/drivers/input/keyboard/ |
D | hil_kbd.c | 429 ptr->btnmap[1] = BTN_MIDDLE; in hil_dev_pointer_setup()
|
D | atkbd.c | 523 input_report_key(dev, BTN_MIDDLE, click); in atkbd_interrupt() 1110 __set_bit(BTN_MIDDLE, input_dev->keybit); in atkbd_set_device_attrs()
|
/linux-4.4.14/net/bluetooth/hidp/ |
D | core.c | 212 input_report_key(dev, BTN_MIDDLE, sdata[0] & 0x04); in hidp_input_report() 690 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in hidp_setup_input()
|
/linux-4.4.14/drivers/input/ |
D | mousedev.c | 242 case BTN_MIDDLE: index = 2; break; in mousedev_key_event()
|
D | joydev.c | 783 __set_bit(BTN_MIDDLE, jd_scratch); in joydev_dev_is_absolute_mouse()
|
/linux-4.4.14/arch/blackfin/mach-bf537/boards/ |
D | stamp.c | 566 .keycode = BTN_MIDDLE,
|
/linux-4.4.14/drivers/platform/x86/ |
D | sony-laptop.c | 418 kp.key = BTN_MIDDLE; in sony_laptop_report_input_event() 517 input_set_capability(jog_dev, EV_KEY, BTN_MIDDLE); in sony_laptop_setup_input()
|