/Linux-v5.15/drivers/input/mouse/ |
D | sermouse.c | 57 input_report_key(dev, BTN_MIDDLE, !(data & 2)); in sermouse_process_msc() 116 input_report_key(dev, BTN_MIDDLE, !test_bit(BTN_MIDDLE, dev->key)); in sermouse_process_ms() 135 input_report_key(dev, BTN_MIDDLE, (data >> 5) & 1); in sermouse_process_ms() 145 input_report_key(dev, BTN_MIDDLE, (data >> 4) & 1); in sermouse_process_ms() 259 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 | 244 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_REL_packet() 296 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_ABS_packet() 349 input_report_key(dev, BTN_MIDDLE, middle); in vsxxxaa_handle_POR_packet() 482 __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 | 80 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt() 142 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
|
D | inport.c | 86 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt() 149 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() 459 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
|
D | psmouse-base.c | 124 input_report_key(dev, BTN_MIDDLE, buttons & BIT(2)); in psmouse_report_standard_buttons() 561 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in genius_detect() 594 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in intellimouse_detect() 637 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in im_explorer_detect() 677 __set_bit(BTN_MIDDLE, psmouse->dev->keybit); in thinking_detect() 702 input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE); in ps2bare_detect() 718 __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 | 1041 input_report_key(input, BTN_MIDDLE, tp_info & BIT(2)); in elan_report_absolute() 1064 input_report_key(input, BTN_MIDDLE, packet[0] & 0x04); in elan_report_trackpoint() 1142 input_set_capability(input, EV_KEY, BTN_MIDDLE); in elan_setup_trackpoint_input_device() 1184 __set_bit(BTN_MIDDLE, input->keybit); in elan_setup_input_device()
|
/Linux-v5.15/drivers/input/joystick/ |
D | a3d.c | 112 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 132 input_report_key(dev, BTN_MIDDLE, data[3] & 4); in a3d_read() 318 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | in a3d_connect() 341 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE); in a3d_connect()
|
D | amijoy.c | 126 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
|
/Linux-v5.15/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-v5.15/drivers/hid/ |
D | hid-kensington.c | 28 case 0x01: ks_map_key(BTN_MIDDLE); break; in ks_input_mapping()
|
D | hid-magicmouse.c | 172 test_bit(BTN_MIDDLE, msc->input->key) << 2; in magicmouse_emit_buttons() 195 input_report_key(msc->input, BTN_MIDDLE, state & 4); in magicmouse_emit_buttons() 526 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 546 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 560 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
|
D | hid-lenovo.c | 183 map_key_clear(BTN_MIDDLE); in lenovo_input_mapping_cptkbd() 541 if (usage->type == EV_KEY && usage->code == BTN_MIDDLE) { in lenovo_event_cptkbd() 548 EV_KEY, BTN_MIDDLE, 1); in lenovo_event_cptkbd() 551 EV_KEY, BTN_MIDDLE, 0); in lenovo_event_cptkbd()
|
/Linux-v5.15/drivers/media/rc/keymaps/ |
D | rc-imon-rsc.c | 44 { 0x801016, BTN_MIDDLE }, /* drag and drop */
|
/Linux-v5.15/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-v5.15/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-v5.15/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()
|
/Linux-v5.15/drivers/staging/unisys/visorinput/ |
D | visorinput.c | 380 set_bit(BTN_MIDDLE, visorinput_dev->keybit); in setup_client_mouse() 588 return BTN_MIDDLE; in calc_button()
|