Home
last modified time | relevance | path

Searched refs:BTN_MIDDLE (Results 1 – 25 of 51) sorted by relevance

123

/linux-6.1.9/drivers/input/mouse/
Dsermouse.c54 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()
Datarimouse.c81 input_report_key(atamouse_dev, BTN_MIDDLE, buttons & 0x2); in atamouse_interrupt()
133 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
Drpcmouse.c54 input_report_key(dev, BTN_MIDDLE, b & 0x20); in rpcmouse_irq()
80 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init()
Dvsxxxaa.c241 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()
Damimouse.c62 input_report_key(dev, BTN_MIDDLE, potgor & 0x0100); in amimouse_interrupt()
112 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
Dlogibm.c77 input_report_key(logibm_dev, BTN_MIDDLE, buttons & 2); in logibm_interrupt()
139 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
Dinport.c83 input_report_key(inport_dev, BTN_MIDDLE, buttons & 1); in inport_interrupt()
146 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init()
Dmaplemouse.c41 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()
Dgpio_mouse.c55 input_report_key(input, BTN_MIDDLE, in gpio_mouse_scan()
127 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe()
Dsynaptics_usb.c100 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()
Dvmmouse.c204 pref_dev, BTN_MIDDLE, in vmmouse_report_events()
472 input_set_capability(abs_dev, EV_KEY, BTN_MIDDLE); in vmmouse_init()
Dpsmouse-base.c122 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()
Dalps.c237 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 …]
Delan_i2c_core.c1007 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()
Dcypress_ps2.c412 __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/
Da3d.c109 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()
Damijoy.c123 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
/linux-6.1.9/drivers/macintosh/
Dmac_hid.c52 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/
Dhid-kensington.c28 case 0x01: ks_map_key(BTN_MIDDLE); break; in ks_input_mapping()
Dhid-magicmouse.c177 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()
Dhid-lenovo.c214 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/
Drc-imon-rsc.c44 { 0x801016, BTN_MIDDLE }, /* drag and drop */
/linux-6.1.9/drivers/hid/usbhid/
Dusbmouse.c70 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/
Dremote.c151 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/
Dwacom_serial4.c356 input_report_key(wacom->dev, BTN_MIDDLE, button & 4); in wacom_handle_packet()
550 set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_connect()

123