Home
last modified time | relevance | path

Searched refs:BTN_LEFT (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v5.4/drivers/media/rc/keymaps/
Drc-imon-pad.c107 { 0x01010000, BTN_LEFT },
109 { 0x01010080, BTN_LEFT },
111 { 0x688301b7, BTN_LEFT },
Drc-cinergy.c38 { 0x19, BTN_LEFT, },
Drc-imon-rsc.c42 { 0x80101b, BTN_LEFT },
/Linux-v5.4/drivers/input/mouse/
Datarimouse.c80 input_report_key(atamouse_dev, BTN_LEFT, buttons & 0x4); in atamouse_interrupt()
132 atamouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in atamouse_init()
Drpcmouse.c53 input_report_key(dev, BTN_LEFT, b & 0x40); in rpcmouse_irq()
79 rpcmouse_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in rpcmouse_init()
Damimouse.c61 input_report_key(dev, BTN_LEFT, ciaa.pra & 0x40); in amimouse_interrupt()
111 dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amimouse_probe()
Dlogibm.c81 input_report_key(logibm_dev, BTN_LEFT, buttons & 4); in logibm_interrupt()
141 logibm_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in logibm_init()
Dinport.c87 input_report_key(inport_dev, BTN_LEFT, buttons & 2); in inport_interrupt()
148 inport_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in inport_init()
Dvsxxxaa.c243 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet()
295 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet()
348 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_POR_packet()
481 __set_bit(BTN_LEFT, input_dev->keybit); /* We have 3 buttons */ in vsxxxaa_connect()
Dsermouse.c55 input_report_key(dev, BTN_LEFT, !(data & 4)); in sermouse_process_msc()
101 input_report_key(dev, BTN_LEFT, (data >> 5) & 1); in sermouse_process_ms()
255 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in sermouse_connect()
Dmaplemouse.c40 input_report_key(dev, BTN_LEFT, buttons & 4); in dc_mouse_callback()
92 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in probe_maple_mouse()
Dgpio_mouse.c53 input_report_key(input, BTN_LEFT, in gpio_mouse_scan()
136 input_set_capability(input, EV_KEY, BTN_LEFT); in gpio_mouse_probe()
Dbyd.c246 input_report_key(dev, BTN_LEFT, priv->btn_left); in byd_report_input()
494 __set_bit(BTN_LEFT, dev->keybit); in byd_init()
Dvmmouse.c198 pref_dev, BTN_LEFT, in vmmouse_report_events()
457 input_set_capability(abs_dev, EV_KEY, BTN_LEFT); in vmmouse_init()
Dnavpoint.c101 input_report_key(navpoint->input, BTN_LEFT, gesture); in navpoint_packet()
255 __set_bit(BTN_LEFT, input->keybit); in navpoint_probe()
Dalps.c231 dev = (dev2 && test_bit(BTN_LEFT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
232 input_report_key(dev, BTN_LEFT, left); in alps_report_buttons()
546 input_report_key(dev, BTN_LEFT, f->left); in alps_report_semi_mt_data()
614 input_report_key(dev, BTN_LEFT, left); in alps_process_trackstick_packet_v3()
796 input_report_key(dev2, BTN_LEFT, f->ts_left); in alps_process_touchpad_packet_v3_v5()
1131 input_report_key(dev, BTN_LEFT, f->left); in alps_process_touchpad_packet_v7()
1367 input_report_key(dev2, BTN_LEFT, f->ts_left); in alps_process_packet_ss4_v2()
1380 input_report_key(dev, BTN_LEFT, f->left); in alps_process_packet_ss4_v2()
1438 input_set_capability(dev3, EV_KEY, BTN_LEFT); in alps_register_bare_ps2_mouse()
3062 dev1->keybit[BIT_WORD(BTN_LEFT)] |= in alps_init()
[all …]
/Linux-v5.4/drivers/input/tablet/
Dkbtab.c71 input_report_key(dev, BTN_LEFT, pressure > kb_pressure_click ? 1 : 0); in kbtab_irq()
154 input_dev->keybit[BIT_WORD(BTN_LEFT)] |= in kbtab_probe()
155 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_RIGHT); in kbtab_probe()
/Linux-v5.4/drivers/hid/
Dhid-elan.c185 __set_bit(BTN_LEFT, input->keybit); in elan_input_configured()
279 input_report_key(input, BTN_LEFT, data[2] & 0x01); in elan_usb_report_input()
312 input_report_key(input, BTN_LEFT, prev_report[2] & 0x01); in elan_usb_report_input()
354 input_report_key(input, BTN_LEFT, data[1] & 0x01); in elan_i2c_report_input()
Dhid-alps.c351 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event()
397 input_report_key(hdata->input, BTN_LEFT, in u1_raw_event()
418 input_report_key(hdata->input2, BTN_LEFT, in u1_raw_event()
727 __set_bit(BTN_LEFT + i, input->keybit); in alps_input_configured()
753 __set_bit(BTN_LEFT + i, input2->keybit); in alps_input_configured()
/Linux-v5.4/drivers/input/joystick/
Da3d.c111 input_report_key(dev, BTN_LEFT, data[3] & 2); in a3d_read()
131 input_report_key(dev, BTN_LEFT, data[3] & 2); 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()
Damijoy.c125 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init()
/Linux-v5.4/drivers/input/rmi4/
Drmi_f30.c229 unsigned int button = BTN_LEFT; in rmi_f30_map_gpios()
230 unsigned int trackstick_button = BTN_LEFT; in rmi_f30_map_gpios()
267 if (pdata->f30_data.buttonpad || (button - BTN_LEFT == 1)) in rmi_f30_map_gpios()
Drmi_f03.c46 if (button < BTN_LEFT || button > BTN_MIDDLE) in rmi_f03_overwrite_button()
49 bit = BIT(button - BTN_LEFT); in rmi_f03_overwrite_button()
/Linux-v5.4/drivers/hid/usbhid/
Dusbmouse.c68 input_report_key(dev, BTN_LEFT, data[0] & 0x01); in usb_mouse_irq()
168 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in usb_mouse_probe()
/Linux-v5.4/drivers/input/
Dmousedev.c231 case BTN_LEFT: index = 0; break; in mousedev_key_event()
1008 .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) },
1043 .keybit = { [BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) },

123