Home
last modified time | relevance | path

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

1234

/linux-6.6.21/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-6.6.21/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.c78 input_report_key(logibm_dev, BTN_LEFT, buttons & 4); in logibm_interrupt()
138 logibm_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in logibm_init()
Dinport.c84 input_report_key(inport_dev, BTN_LEFT, buttons & 2); in inport_interrupt()
145 inport_dev->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in inport_init()
Dvsxxxaa.c240 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_REL_packet()
292 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_ABS_packet()
345 input_report_key(dev, BTN_LEFT, left); in vsxxxaa_handle_POR_packet()
478 __set_bit(BTN_LEFT, input_dev->keybit); /* We have 3 buttons */ in vsxxxaa_connect()
Dsermouse.c52 input_report_key(dev, BTN_LEFT, !(data & 4)); in sermouse_process_msc()
98 input_report_key(dev, BTN_LEFT, (data >> 5) & 1); in sermouse_process_ms()
252 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.c52 input_report_key(input, BTN_LEFT, in gpio_mouse_scan()
125 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()
470 input_set_capability(abs_dev, EV_KEY, BTN_LEFT); in vmmouse_init()
/linux-6.6.21/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-6.6.21/tools/testing/selftests/hid/tests/
Dtest_mouse.py576 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 1)
580 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
583 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 0)
587 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
590 expected_event0 = libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 1)
598 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
601 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 0)
606 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
614 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
Dtest_multitouch.py990 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 1) in events
991 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
996 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 0) in events
997 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
1002 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 1) in events
1003 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 1
1008 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 0) in events
1009 assert evdev.value[libevdev.EV_KEY.BTN_LEFT] == 0
1098 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 1) in events
1099 assert libevdev.InputEvent(libevdev.EV_KEY.BTN_LEFT, 0) not in events
[all …]
/linux-6.6.21/drivers/input/rmi4/
Drmi_f3a.c128 unsigned int button = BTN_LEFT; in rmi_f3a_map_gpios()
129 unsigned int trackstick_button = BTN_LEFT; in rmi_f3a_map_gpios()
161 if (pdata->gpio_data.buttonpad || (button - BTN_LEFT == 1)) in rmi_f3a_map_gpios()
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->gpio_data.buttonpad || (button - BTN_LEFT == 1)) in rmi_f30_map_gpios()
/linux-6.6.21/drivers/input/joystick/
Da3d.c108 input_report_key(dev, BTN_LEFT, data[3] & 2); in a3d_read()
128 input_report_key(dev, BTN_LEFT, data[3] & 2); 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.c122 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init()
Dn64joy.c169 input_report_key(dev, BTN_LEFT, data[i].c_left); in n64joy_poll()
294 input_set_capability(dev, EV_KEY, BTN_LEFT); in n64joy_probe()
/linux-6.6.21/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.c352 input_report_key(hdata->input, BTN_LEFT, p_report->button); in t4_raw_event()
398 input_report_key(hdata->input, BTN_LEFT, in u1_raw_event()
419 input_report_key(hdata->input2, BTN_LEFT, in u1_raw_event()
728 __set_bit(BTN_LEFT + i, input->keybit); in alps_input_configured()
754 __set_bit(BTN_LEFT + i, input2->keybit); in alps_input_configured()
/linux-6.6.21/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()

1234