Home
last modified time | relevance | path

Searched refs:BTN_RIGHT (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v6.6/drivers/media/rc/keymaps/
Drc-imon-pad.c108 { 0x01020000, BTN_RIGHT },
110 { 0x01020080, BTN_RIGHT },
112 { 0x688481b7, BTN_RIGHT },
Drc-cinergy.c39 { 0x1a, BTN_RIGHT, },
Drc-imon-rsc.c43 { 0x80101d, BTN_RIGHT },
/Linux-v6.6/drivers/input/mouse/
Datarimouse.c82 input_report_key(atamouse_dev, BTN_RIGHT, buttons & 0x1); in atamouse_interrupt()
133 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in atamouse_init()
Drpcmouse.c55 input_report_key(dev, BTN_RIGHT, b & 0x10); in rpcmouse_irq()
80 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in rpcmouse_init()
Dvsxxxaa.c242 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_REL_packet()
294 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_ABS_packet()
347 input_report_key(dev, BTN_RIGHT, right); in vsxxxaa_handle_POR_packet()
480 __set_bit(BTN_RIGHT, input_dev->keybit); in vsxxxaa_connect()
Damimouse.c63 input_report_key(dev, BTN_RIGHT, potgor & 0x0400); in amimouse_interrupt()
112 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amimouse_probe()
Dlogibm.c76 input_report_key(logibm_dev, BTN_RIGHT, buttons & 1); in logibm_interrupt()
139 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in logibm_init()
Dsermouse.c53 input_report_key(dev, BTN_RIGHT, !(data & 1)); in sermouse_process_msc()
99 input_report_key(dev, BTN_RIGHT, (data >> 4) & 1); in sermouse_process_ms()
253 BIT_MASK(BTN_RIGHT); in sermouse_connect()
Dinport.c85 input_report_key(inport_dev, BTN_RIGHT, buttons & 4); in inport_interrupt()
146 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in inport_init()
Dmaplemouse.c42 input_report_key(dev, BTN_RIGHT, buttons & 2); in dc_mouse_callback()
93 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in probe_maple_mouse()
Dgpio_mouse.c58 input_report_key(input, BTN_RIGHT, in gpio_mouse_scan()
129 input_set_capability(input, EV_KEY, BTN_RIGHT); in gpio_mouse_probe()
Dvmmouse.c201 pref_dev, BTN_RIGHT, in vmmouse_report_events()
471 input_set_capability(abs_dev, EV_KEY, BTN_RIGHT); in vmmouse_init()
Dbyd.c247 input_report_key(dev, BTN_RIGHT, priv->btn_right); in byd_report_input()
495 __set_bit(BTN_RIGHT, dev->keybit); in byd_init()
Dalps.c234 dev = (dev2 && test_bit(BTN_RIGHT, dev2->key)) ? dev2 : dev1; in alps_report_buttons()
235 input_report_key(dev, BTN_RIGHT, right); in alps_report_buttons()
547 input_report_key(dev, BTN_RIGHT, f->right); in alps_report_semi_mt_data()
615 input_report_key(dev, BTN_RIGHT, right); in alps_process_trackstick_packet_v3()
797 input_report_key(dev2, BTN_RIGHT, f->ts_right); in alps_process_touchpad_packet_v3_v5()
1132 input_report_key(dev, BTN_RIGHT, f->right); in alps_process_touchpad_packet_v7()
1368 input_report_key(dev2, BTN_RIGHT, f->ts_right); in alps_process_packet_ss4_v2()
1381 input_report_key(dev, BTN_RIGHT, f->right); in alps_process_packet_ss4_v2()
1439 input_set_capability(dev3, EV_KEY, BTN_RIGHT); in alps_register_bare_ps2_mouse()
3063 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_RIGHT); in alps_init()
[all …]
/Linux-v6.6/tools/testing/selftests/hid/tests/
Dtest_mouse.py548 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_RIGHT, 1)
552 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
555 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_RIGHT, 0)
559 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 0
591 expected_event1 = libevdev.InputEvent(libevdev.EV_KEY.BTN_RIGHT, 1)
597 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
605 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 1
609 expected_event = libevdev.InputEvent(libevdev.EV_KEY.BTN_RIGHT, 0)
613 assert evdev.value[libevdev.EV_KEY.BTN_RIGHT] == 0
/Linux-v6.6/drivers/input/joystick/
Da3d.c107 input_report_key(dev, BTN_RIGHT, data[2] & 1); in a3d_read()
127 input_report_key(dev, BTN_RIGHT, data[2] & 1); in a3d_read()
314 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_RIGHT) | in a3d_connect()
337 input_dev->keybit[BIT_WORD(BTN_MOUSE)] |= BIT_MASK(BTN_RIGHT) | in a3d_connect()
Dn64joy.c170 input_report_key(dev, BTN_RIGHT, data[i].c_right); in n64joy_poll()
295 input_set_capability(dev, EV_KEY, BTN_RIGHT); in n64joy_probe()
Damijoy.c123 BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in amijoy_init()
/Linux-v6.6/drivers/macintosh/
Dmac_hid.c52 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_MIDDLE) | BIT_MASK(BTN_RIGHT); in mac_hid_create_emumouse()
83 btn = BTN_RIGHT; in mac_hid_emumouse_filter()
/Linux-v6.6/drivers/input/tablet/
Dkbtab.c65 input_report_key(dev, BTN_RIGHT, data[0] & 0x02); in kbtab_irq()
155 BIT_MASK(BTN_LEFT) | BIT_MASK(BTN_RIGHT); in kbtab_probe()
Dpegasus_notetaker.c161 input_report_key(dev, BTN_RIGHT, data[1] & PEN_BUTTON_PRESSED); in pegasus_parse_packet()
367 __set_bit(BTN_RIGHT, input_dev->keybit); in pegasus_probe()
/Linux-v6.6/drivers/hid/usbhid/
Dusbmouse.c69 input_report_key(dev, BTN_RIGHT, data[0] & 0x02); in usb_mouse_irq()
169 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in usb_mouse_probe()
/Linux-v6.6/drivers/hid/
Dhid-magicmouse.c176 test_bit(BTN_RIGHT, msc->input->key) << 1 | in magicmouse_emit_buttons()
204 input_report_key(msc->input, BTN_RIGHT, state & 2); in magicmouse_emit_buttons()
532 __set_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
565 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
579 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
/Linux-v6.6/drivers/misc/ibmasm/
Dremote.c152 input_report_key(dev, BTN_RIGHT, buttons & REMOTE_BUTTON_RIGHT); in send_mouse_event()
217 BIT_MASK(BTN_RIGHT) | BIT_MASK(BTN_MIDDLE); in ibmasm_init_remote_input_dev()

123