/openbmc/linux/drivers/media/rc/keymaps/ |
H A D | rc-imon-pad.c | 107 { 0x01010000, BTN_LEFT }, 109 { 0x01010080, BTN_LEFT }, 111 { 0x688301b7, BTN_LEFT },
|
H A D | rc-cinergy.c | 38 { 0x19, BTN_LEFT, },
|
H A D | rc-imon-rsc.c | 42 { 0x80101b, BTN_LEFT },
|
/openbmc/linux/drivers/input/mouse/ |
H A D | atarimouse.c | 80 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 D | rpcmouse.c | 53 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 D | amimouse.c | 61 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 D | logibm.c | 78 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 D | inport.c | 84 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 D | vsxxxaa.c | 240 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 D | sermouse.c | 52 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 D | maplemouse.c | 40 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 D | gpio_mouse.c | 52 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 D | vmmouse.c | 198 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 D | kbtab.c | 71 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 D | test_mouse.py | 576 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 D | test_multitouch.py | 990 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 D | rmi_f3a.c | 128 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 D | rmi_f30.c | 229 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 D | rmi_f03.c | 46 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 D | amijoy.c | 122 amijoy_dev[i]->keybit[BIT_WORD(BTN_LEFT)] = BIT_MASK(BTN_LEFT) | in amijoy_init()
|
H A D | a3d.c | 108 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 D | n64joy.c | 169 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 D | hid-elan.c | 185 __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 D | hid-alps.c | 352 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 D | usbmouse.c | 68 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()
|