/linux-6.1.9/drivers/input/mouse/ |
D | sermouse.c | 54 input_report_key(dev, BTN_MIDDLE, !(data & 2)); in sermouse_process_msc() 113 input_report_key(dev, BTN_MIDDLE, !test_bit(BTN_MIDDLE, dev->key)); in sermouse_process_ms() 132 input_report_key(dev, BTN_MIDDLE, (data >> 5) & 1); in sermouse_process_ms() 142 input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1); in sermouse_process_ms() 256 if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit); in sermouse_connect()
|
D | atarimouse.c | 81 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt() 133 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
|
D | rpcmouse.c | 54 input_report_key(dev, BTN_MIDDLE, b & 0x20); in rpcmouse_irq() 80 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init()
|
D | vsxxxaa.c | 241 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_REL_packet() 293 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_ABS_packet() 346 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_POR_packet() 479 __set_bit(BTN_MIDDLE, input_dev->keybit); in vsxxxaa_connect()
|
D | amimouse.c | 62 input_report_key(dev, BTN_MIDDLE, potgor & 0x0100); in amimouse_interrupt() 112 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
|
D | logibm.c | 77 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt() 139 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
|
D | inport.c | 83 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt() 146 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init()
|
D | maplemouse.c | 41 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 | 55 input_report_key(input, BTN_MIDDLE, in gpio_mouse_scan() 127 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe()
|
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() 419 __set_bit(BTN_MIDDLE, input_dev->keybit); in synusb_probe()
|
D | vmmouse.c | 204 pref_dev, BTN_MIDDLE, in vmmouse_report_events() 472 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
|
D | psmouse-base.c | 122 input_report_key(dev, BTN_MIDDLE, buttons & BIT(2)); in psmouse_report_standard_buttons() 559 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in genius_detect() 592 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in intellimouse_detect() 635 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in im_explorer_detect() 675 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in thinking_detect() 700 input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE); in ps2bare_detect() 716 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in cortron_detect()
|
D | alps.c | 237 dev = (dev2 && test_bit(BTN_MIDDLE, dev2->key)) ? dev2 : dev1; in alps_report_buttons() 238 input_report_key(dev, BTN_MIDDLE, middle); in alps_report_buttons() 548 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_report_semi_mt_data() 616 input_report_key(dev, BTN_MIDDLE, middle); in alps_process_trackstick_packet_v3() 798 input_report_key(dev2, BTN_MIDDLE, f->ts_middle); in alps_process_touchpad_packet_v3_v5() 1133 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_touchpad_packet_v7() 1369 input_report_key(dev2, BTN_MIDDLE, f->ts_middle); in alps_process_packet_ss4_v2() 1382 input_report_key(dev, BTN_MIDDLE, f->middle); in alps_process_packet_ss4_v2() 1440 input_set_capability(dev3, EV_KEY, BTN_MIDDLE); in alps_register_bare_ps2_mouse() 3088 dev1->keybit[BIT_WORD(BTN_MIDDLE)] |= BIT_MASK(BTN_MIDDLE); in alps_init() [all …]
|
D | elan_i2c_core.c | 1007 input_report_key(input, BTN_MIDDLE, tp_info & BIT(2)); in elan_report_absolute() 1030 input_report_key(input, BTN_MIDDLE, packet[0] & 0x04); in elan_report_trackpoint() 1108 input_set_capability(input, EV_KEY, BTN_MIDDLE); in elan_setup_trackpoint_input_device() 1150 __set_bit(BTN_MIDDLE, input->keybit); in elan_setup_input_device()
|
D | cypress_ps2.c | 412 __set_bit(BTN_MIDDLE, input->keybit); in cypress_set_input_params() 553 input_report_key(input, BTN_MIDDLE, report_data.middle); in cypress_process_packet()
|
/linux-6.1.9/drivers/input/joystick/ |
D | a3d.c | 109 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 129 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 315 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in a3d_connect() 338 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE); in a3d_connect()
|
D | amijoy.c | 123 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
|
/linux-6.1.9/drivers/macintosh/ |
D | mac_hid.c | 52 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in mac_hid_create_emumouse() 81 btn = BTN_MIDDLE; in mac_hid_emumouse_filter()
|
/linux-6.1.9/drivers/hid/ |
D | hid-kensington.c | 28 case 0x01: ks_map_key(BTN_MIDDLE); break; in ks_input_mapping()
|
D | hid-magicmouse.c | 177 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons() 200 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 534 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 566 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 580 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
|
D | hid-lenovo.c | 214 map_key_clear(BTN_MIDDLE); in lenovo_input_mapping_cptkbd() 301 map_key_clear(BTN_MIDDLE); in lenovo_input_mapping_tpIIkbd() 310 map_key_clear(BTN_MIDDLE); in lenovo_input_mapping_tpIIkbd() 680 if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { in lenovo_event_cptkbd() 687 EV_KEY, BTN_MIDDLE, 1); in lenovo_event_cptkbd() 690 EV_KEY, BTN_MIDDLE, 0); in lenovo_event_cptkbd()
|
/linux-6.1.9/drivers/media/rc/keymaps/ |
D | rc-imon-rsc.c | 44 { 0x801016, BTN_MIDDLE }, /* drag and drop */
|
/linux-6.1.9/drivers/hid/usbhid/ |
D | usbmouse.c | 70 input_report_key(dev, BTN_MIDDLE, data[0] & 0x04); in usb_mouse_irq() 169 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in usb_mouse_probe()
|
/linux-6.1.9/drivers/misc/ibmasm/ |
D | remote.c | 151 input_report_key(dev, BTN_MIDDLE, buttons & REMOTE_BUTTON_MIDDLE); in send_mouse_event() 217 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in ibmasm_init_remote_input_dev()
|
/linux-6.1.9/drivers/input/tablet/ |
D | wacom_serial4.c | 356 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet() 550 set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_connect()
|