Home
last modified time | relevance | path

Searched refs:keybit (Results 1 – 25 of 226) sorted by relevance

12345678910

/linux-6.3-rc2/drivers/hid/
A Dhid-udraw-ps3.c318 set_bit(BTN_TOUCH, input_dev->keybit); in udraw_setup_touch()
319 set_bit(BTN_TOOL_FINGER, input_dev->keybit); in udraw_setup_touch()
347 set_bit(BTN_TOUCH, input_dev->keybit); in udraw_setup_pen()
348 set_bit(BTN_TOOL_PEN, input_dev->keybit); in udraw_setup_pen()
391 set_bit(BTN_SOUTH, input_dev->keybit); in udraw_setup_joypad()
392 set_bit(BTN_NORTH, input_dev->keybit); in udraw_setup_joypad()
393 set_bit(BTN_EAST, input_dev->keybit); in udraw_setup_joypad()
394 set_bit(BTN_WEST, input_dev->keybit); in udraw_setup_joypad()
395 set_bit(BTN_SELECT, input_dev->keybit); in udraw_setup_joypad()
396 set_bit(BTN_START, input_dev->keybit); in udraw_setup_joypad()
[all …]
A Dhid-magicmouse.c531 __set_bit(BTN_LEFT, input->keybit); in magicmouse_setup_input()
532 __set_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
534 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
564 __clear_bit(BTN_0, input->keybit); in magicmouse_setup_input()
565 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
566 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
567 __set_bit(BTN_MOUSE, input->keybit); in magicmouse_setup_input()
579 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input()
580 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input()
581 __set_bit(BTN_MOUSE, input->keybit); in magicmouse_setup_input()
[all …]
A Dwacom_wac.c3560 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_intuos()
3561 __set_bit(BTN_RIGHT, input_dev->keybit); in wacom_setup_intuos()
3563 __set_bit(BTN_SIDE, input_dev->keybit); in wacom_setup_intuos()
3564 __set_bit(BTN_EXTRA, input_dev->keybit); in wacom_setup_intuos()
3744 __set_bit(BTN_TOUCH, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3775 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_pen_input_capabilities()
3909 __set_bit(BTN_TOUCH, input_dev->keybit); in wacom_setup_touch_input_capabilities()
4022 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_touch_input_capabilities()
4050 __set_bit(key, input_dev->keybit); in wacom_setup_numbered_buttons()
4206 __set_bit(BTN_BACK, input_dev->keybit); in wacom_setup_pad_input_capabilities()
[all …]
A Dhid-microsoft.c110 set_bit(KEY_KPLEFTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
111 set_bit(KEY_KPRIGHTPAREN, input->keybit); in ms_ergonomy_kb_quirk()
130 set_bit(KEY_F14, input->keybit); in ms_ergonomy_kb_quirk()
131 set_bit(KEY_F15, input->keybit); in ms_ergonomy_kb_quirk()
132 set_bit(KEY_F16, input->keybit); in ms_ergonomy_kb_quirk()
133 set_bit(KEY_F17, input->keybit); in ms_ergonomy_kb_quirk()
134 set_bit(KEY_F18, input->keybit); in ms_ergonomy_kb_quirk()
/linux-6.3-rc2/drivers/input/misc/
A Dcm109.c373 dev->keybit); in cm109_urb_irq_callback()
387 if (dev->keybit == 0xf) { in cm109_urb_irq_callback()
394 dev->keybit = 0x1; in cm109_urb_irq_callback()
398 dev->keybit <<= 1; in cm109_urb_irq_callback()
399 if (dev->keybit > 0x8) in cm109_urb_irq_callback()
400 dev->keybit = 0xf; in cm109_urb_irq_callback()
416 dev->ctl_data->byte[HID_OR1] = dev->keybit; in cm109_urb_irq_callback()
563 dev->keybit = 0xf; in cm109_input_open()
567 dev->ctl_data->byte[HID_OR1] = dev->keybit; in cm109_input_open()
568 dev->ctl_data->byte[HID_OR2] = dev->keybit; in cm109_input_open()
[all …]
A Dpcap_keys.c71 __set_bit(KEY_POWER, input_dev->keybit); in pcap_keys_probe()
72 __set_bit(KEY_HP, input_dev->keybit); in pcap_keys_probe()
A Dati_remote2.c554 __set_bit(ke->keycode, idev->keybit); in ati_remote2_setkeycode()
563 __clear_bit(*old_keycode, idev->keybit); in ati_remote2_setkeycode()
581 idev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in ati_remote2_input_init()
588 __set_bit(ar2->keycode[mode][index], idev->keybit); in ati_remote2_input_init()
599 __set_bit(KEY_PROG1, idev->keybit); in ati_remote2_input_init()
600 __set_bit(KEY_PROG2, idev->keybit); in ati_remote2_input_init()
601 __set_bit(KEY_PROG3, idev->keybit); in ati_remote2_input_init()
602 __set_bit(KEY_PROG4, idev->keybit); in ati_remote2_input_init()
603 __set_bit(KEY_PC, idev->keybit); in ati_remote2_input_init()
A Dmc13783-pwrbutton.c131 __set_bit(pdata->b1on_key, pwr->keybit); in mc13783_pwrbutton_probe()
150 __set_bit(pdata->b2on_key, pwr->keybit); in mc13783_pwrbutton_probe()
169 __set_bit(pdata->b3on_key, pwr->keybit); in mc13783_pwrbutton_probe()
A Dsgi_btns.c107 __set_bit(bdev->keymap[i], input->keybit); in sgi_buttons_probe()
108 __clear_bit(KEY_RESERVED, input->keybit); in sgi_buttons_probe()
/linux-6.3-rc2/drivers/macintosh/
A Dadbhid.c832 set_bit(hid->keycode[i], input_dev->keybit); in adbhid_input_register()
858 set_bit(KEY_SOUND, input_dev->keybit); in adbhid_input_register()
859 set_bit(KEY_MUTE, input_dev->keybit); in adbhid_input_register()
860 set_bit(KEY_VOLUMEUP, input_dev->keybit); in adbhid_input_register()
861 set_bit(KEY_VOLUMEDOWN, input_dev->keybit); in adbhid_input_register()
867 set_bit(KEY_MUTE, input_dev->keybit); in adbhid_input_register()
868 set_bit(KEY_VOLUMEUP, input_dev->keybit); in adbhid_input_register()
869 set_bit(KEY_VOLUMEDOWN, input_dev->keybit); in adbhid_input_register()
870 set_bit(KEY_BRIGHTNESSUP, input_dev->keybit); in adbhid_input_register()
872 set_bit(KEY_EJECTCD, input_dev->keybit); in adbhid_input_register()
[all …]
/linux-6.3-rc2/drivers/input/tablet/
A Dwacom_serial4.c543 set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_connect()
544 set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_connect()
545 set_bit(BTN_TOOL_MOUSE, input_dev->keybit); in wacom_connect()
546 set_bit(BTN_TOUCH, input_dev->keybit); in wacom_connect()
547 set_bit(BTN_STYLUS, input_dev->keybit); in wacom_connect()
548 set_bit(BTN_LEFT, input_dev->keybit); in wacom_connect()
549 set_bit(BTN_RIGHT, input_dev->keybit); in wacom_connect()
550 set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_connect()
567 __set_bit(BTN_STYLUS2, input_dev->keybit); in wacom_connect()
/linux-6.3-rc2/net/rfkill/
A Dinput.c278 .keybit = { [BIT_WORD(KEY_WLAN)] = BIT_MASK(KEY_WLAN) },
283 .keybit = { [BIT_WORD(KEY_BLUETOOTH)] = BIT_MASK(KEY_BLUETOOTH) },
288 .keybit = { [BIT_WORD(KEY_UWB)] = BIT_MASK(KEY_UWB) },
293 .keybit = { [BIT_WORD(KEY_WIMAX)] = BIT_MASK(KEY_WIMAX) },
298 .keybit = { [BIT_WORD(KEY_RFKILL)] = BIT_MASK(KEY_RFKILL) },
/linux-6.3-rc2/drivers/input/touchscreen/
A Dwacom_i2c.c203 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe()
204 __set_bit(BTN_TOOL_RUBBER, input->keybit); in wacom_i2c_probe()
205 __set_bit(BTN_STYLUS, input->keybit); in wacom_i2c_probe()
206 __set_bit(BTN_STYLUS2, input->keybit); in wacom_i2c_probe()
207 __set_bit(BTN_TOUCH, input->keybit); in wacom_i2c_probe()
A Dwacom_w8001.c436 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup_pen()
437 __set_bit(BTN_TOOL_PEN, dev->keybit); in w8001_setup_pen()
438 __set_bit(BTN_TOOL_RUBBER, dev->keybit); in w8001_setup_pen()
439 __set_bit(BTN_STYLUS, dev->keybit); in w8001_setup_pen()
440 __set_bit(BTN_STYLUS2, dev->keybit); in w8001_setup_pen()
484 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup_touch()
522 __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); in w8001_setup_touch()
/linux-6.3-rc2/drivers/input/mouse/
A Dcypress_ps2.c398 __set_bit(BTN_TOUCH, input->keybit); in cypress_set_input_params()
399 __set_bit(BTN_TOOL_FINGER, input->keybit); in cypress_set_input_params()
400 __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); in cypress_set_input_params()
401 __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); in cypress_set_input_params()
402 __set_bit(BTN_TOOL_QUADTAP, input->keybit); in cypress_set_input_params()
403 __set_bit(BTN_TOOL_QUINTTAP, input->keybit); in cypress_set_input_params()
410 __set_bit(BTN_LEFT, input->keybit); in cypress_set_input_params()
411 __set_bit(BTN_RIGHT, input->keybit); in cypress_set_input_params()
412 __set_bit(BTN_MIDDLE, input->keybit); in cypress_set_input_params()
A Dbyd.c491 __set_bit(BTN_TOUCH, dev->keybit); in byd_init()
492 __set_bit(BTN_TOOL_FINGER, dev->keybit); in byd_init()
494 __set_bit(BTN_LEFT, dev->keybit); in byd_init()
495 __set_bit(BTN_RIGHT, dev->keybit); in byd_init()
496 __clear_bit(BTN_MIDDLE, dev->keybit); in byd_init()
A Dsynaptics_usb.c406 __set_bit(BTN_TOUCH, input_dev->keybit); in synusb_probe()
407 __set_bit(BTN_TOOL_FINGER, input_dev->keybit); in synusb_probe()
408 __set_bit(BTN_TOOL_DOUBLETAP, input_dev->keybit); in synusb_probe()
409 __set_bit(BTN_TOOL_TRIPLETAP, input_dev->keybit); in synusb_probe()
417 __set_bit(BTN_LEFT, input_dev->keybit); in synusb_probe()
418 __set_bit(BTN_RIGHT, input_dev->keybit); in synusb_probe()
419 __set_bit(BTN_MIDDLE, input_dev->keybit); in synusb_probe()
A Dsermouse.c252 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in sermouse_connect()
256 if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit); in sermouse_connect()
257 if (c & 0x02) set_bit(BTN_SIDE, input_dev->keybit); in sermouse_connect()
258 if (c & 0x04) set_bit(BTN_EXTRA, input_dev->keybit); in sermouse_connect()
A Dtouchkit_ps2.c75 dev->keybit[BIT_WORD(BTN_MOUSE)] = 0; in touchkit_ps2_detect()
76 dev->keybit[BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH); in touchkit_ps2_detect()
A Dhgpk.c551 memset(input->keybit, 0, sizeof(input->keybit)); in hgpk_setup_input_device()
555 __set_bit(BTN_LEFT, input->keybit); in hgpk_setup_input_device()
556 __set_bit(BTN_RIGHT, input->keybit); in hgpk_setup_input_device()
566 __set_bit(BTN_TOUCH, input->keybit); in hgpk_setup_input_device()
567 __set_bit(BTN_TOOL_FINGER, input->keybit); in hgpk_setup_input_device()
584 __set_bit(BTN_TOUCH, input->keybit); in hgpk_setup_input_device()
585 __set_bit(BTN_TOOL_FINGER, input->keybit); in hgpk_setup_input_device()
/linux-6.3-rc2/drivers/input/
A Dsparse-keymap.c143 set_bit(ke->keycode, dev->keybit); in sparse_keymap_setkeycode()
145 clear_bit(*old_keycode, dev->keybit); in sparse_keymap_setkeycode()
196 __set_bit(entry->keycode, dev->keybit); in sparse_keymap_setup()
208 __set_bit(KEY_UNKNOWN, dev->keybit); in sparse_keymap_setup()
A Dinput-mt.c61 __set_bit(BTN_TOUCH, dev->keybit); in input_mt_init_slots()
68 __set_bit(BTN_TOOL_FINGER, dev->keybit); in input_mt_init_slots()
69 __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); in input_mt_init_slots()
71 __set_bit(BTN_TOOL_TRIPLETAP, dev->keybit); in input_mt_init_slots()
73 __set_bit(BTN_TOOL_QUADTAP, dev->keybit); in input_mt_init_slots()
75 __set_bit(BTN_TOOL_QUINTTAP, dev->keybit); in input_mt_init_slots()
/linux-6.3-rc2/drivers/input/keyboard/
A Dpxa27x_keypad.c202 __set_bit(code, input_dev->keybit); in pxa27x_keypad_direct_key_parse_dt()
258 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_rotary_parse_dt()
262 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_rotary_parse_dt()
366 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_build_keycode()
373 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_build_keycode()
377 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_build_keycode()
390 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_build_keycode()
394 __set_bit(keycode, input_dev->keybit); in pxa27x_keypad_build_keycode()
403 __clear_bit(KEY_RESERVED, input_dev->keybit); in pxa27x_keypad_build_keycode()
A Dopencores-kbd.c92 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe()
94 __clear_bit(KEY_RESERVED, input->keybit); in opencores_kbd_probe()
/linux-6.3-rc2/drivers/input/joystick/
A Dspaceball.c223 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_9); in spaceball_connect()
224 input_dev->keybit[BIT_WORD(BTN_A)] |= BIT_MASK(BTN_A) | in spaceball_connect()
229 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_2) | in spaceball_connect()
235 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) | in spaceball_connect()

Completed in 49 milliseconds

12345678910