Home
last modified time | relevance | path

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

123456789

/Linux-v6.6/drivers/hid/
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()
320 set_bit(BTN_TOOL_DOUBLETAP, 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()
[all …]
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()
569 __set_bit(BTN_TOOL_FINGER, 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()
[all …]
Dwacom_wac.c3546 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_basic_pro_pen()
3547 __set_bit(BTN_STYLUS, input_dev->keybit); in wacom_setup_basic_pro_pen()
3548 __set_bit(BTN_STYLUS2, input_dev->keybit); in wacom_setup_basic_pro_pen()
3561 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_setup_cintiq()
3562 __set_bit(BTN_TOOL_BRUSH, input_dev->keybit); in wacom_setup_cintiq()
3563 __set_bit(BTN_TOOL_PENCIL, input_dev->keybit); in wacom_setup_cintiq()
3564 __set_bit(BTN_TOOL_AIRBRUSH, input_dev->keybit); in wacom_setup_cintiq()
3581 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_intuos()
3582 __set_bit(BTN_RIGHT, input_dev->keybit); in wacom_setup_intuos()
3583 __set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_setup_intuos()
[all …]
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-v6.6/drivers/input/misc/
Dcm109.c127 int keybit; /* 0=new scan 1,2,4,8=scan columns */ member
373 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()
417 dev->ctl_data->byte[HID_OR2] = dev->keybit; in cm109_urb_irq_callback()
563 dev->keybit = 0xf; in cm109_input_open()
[all …]
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()
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()
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()
Dcobalt_btns.c99 __set_bit(bdev->keymap[i], input->keybit); in cobalt_buttons_probe()
100 __clear_bit(KEY_RESERVED, input->keybit); in cobalt_buttons_probe()
/Linux-v6.6/drivers/macintosh/
Dadbhid.c832 set_bit(hid->keycode[i], input_dev->keybit); in adbhid_input_register()
847 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | 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()
[all …]
/Linux-v6.6/drivers/input/tablet/
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-v6.6/net/rfkill/
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-v6.6/drivers/input/touchscreen/
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()
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-v6.6/drivers/input/mouse/
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()
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()
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()
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()
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()
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-v6.6/drivers/input/
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()
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-v6.6/drivers/input/keyboard/
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()
Dopencores-kbd.c85 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe()
87 __clear_bit(KEY_RESERVED, input->keybit); in opencores_kbd_probe()
/Linux-v6.6/drivers/input/joystick/
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()

123456789