Home
last modified time | relevance | path

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

1234

/openbmc/linux/drivers/media/rc/keymaps/
H A Drc-imon-pad.c107 { 0x01010000, BTN_LEFT },
109 { 0x01010080, BTN_LEFT },
111 { 0x688301b7, BTN_LEFT },
H A Drc-cinergy.c38 { 0x19, BTN_LEFT, },
H A Drc-imon-rsc.c42 { 0x80101b, BTN_LEFT },
/openbmc/linux/drivers/input/mouse/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dvmmouse.c198 pref_dev, BTN_LEFT, in vmmouse_report_events()
470 input_set_capability(abs_dev, EV_KEY, BTN_LEFT); in vmmouse_init()
/openbmc/linux/drivers/input/tablet/
H A 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()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A 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
H A 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 …]
/openbmc/linux/drivers/input/rmi4/
H A 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()
H A 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()
H A 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()
/openbmc/linux/drivers/input/joystick/
H A Damijoy.c122 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init()
H A 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()
H A 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()
/openbmc/linux/drivers/hid/
H A 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()
H A 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()
/openbmc/linux/drivers/hid/usbhid/
H A 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