/linux/drivers/hid/ |
H A D | hid-udraw-ps3.c | 318 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 …]
|
H A D | hid-magicmouse.c | 534 __set_bit(BTN_LEFT, input->keybit); in magicmouse_setup_input() 535 __set_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 537 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 567 __clear_bit(BTN_0, input->keybit); in magicmouse_setup_input() 568 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 569 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 570 __set_bit(BTN_MOUSE, input->keybit); in magicmouse_setup_input() 572 __set_bit(BTN_TOOL_FINGER, input->keybit); in magicmouse_setup_input() 582 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 583 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() [all …]
|
H A D | wacom_wac.c | 3571 __set_bit(BTN_TOOL_PEN, input_dev->keybit); in wacom_setup_basic_pro_pen() 3572 __set_bit(BTN_STYLUS, input_dev->keybit); in wacom_setup_basic_pro_pen() 3573 __set_bit(BTN_STYLUS2, input_dev->keybit); in wacom_setup_basic_pro_pen() 3586 __set_bit(BTN_TOOL_RUBBER, input_dev->keybit); in wacom_setup_cintiq() 3587 __set_bit(BTN_TOOL_BRUSH, input_dev->keybit); in wacom_setup_cintiq() 3588 __set_bit(BTN_TOOL_PENCIL, input_dev->keybit); in wacom_setup_cintiq() 3589 __set_bit(BTN_TOOL_AIRBRUSH, input_dev->keybit); in wacom_setup_cintiq() 3606 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_intuos() 3607 __set_bit(BTN_RIGHT, input_dev->keybit); in wacom_setup_intuos() 3608 __set_bit(BTN_MIDDLE, input_dev->keybit); in wacom_setup_intuos() [all …]
|
H A D | hid-microsoft.c | 110 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/drivers/input/misc/ |
H A D | cm109.c | 127 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 …]
|
H A D | ati_remote2.c | 535 __set_bit(ke->keycode, idev->keybit); in ati_remote2_setkeycode() 544 __clear_bit(*old_keycode, idev->keybit); in ati_remote2_setkeycode() 562 idev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in ati_remote2_input_init() 569 __set_bit(ar2->keycode[mode][index], idev->keybit); in ati_remote2_input_init() 580 __set_bit(KEY_PROG1, idev->keybit); in ati_remote2_input_init() 581 __set_bit(KEY_PROG2, idev->keybit); in ati_remote2_input_init() 582 __set_bit(KEY_PROG3, idev->keybit); in ati_remote2_input_init() 583 __set_bit(KEY_PROG4, idev->keybit); in ati_remote2_input_init() 584 __set_bit(KEY_PC, idev->keybit); in ati_remote2_input_init()
|
H A D | mc13783-pwrbutton.c | 131 __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()
|
/linux/drivers/macintosh/ |
H A D | adbhid.c | 832 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/drivers/input/tablet/ |
H A D | wacom_serial4.c | 543 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/net/rfkill/ |
H A D | input.c | 278 .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/drivers/input/touchscreen/ |
H A D | wacom_i2c.c | 203 __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()
|
H A D | wacom_w8001.c | 434 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup_pen() 435 __set_bit(BTN_TOOL_PEN, dev->keybit); in w8001_setup_pen() 436 __set_bit(BTN_TOOL_RUBBER, dev->keybit); in w8001_setup_pen() 437 __set_bit(BTN_STYLUS, dev->keybit); in w8001_setup_pen() 438 __set_bit(BTN_STYLUS2, dev->keybit); in w8001_setup_pen() 482 __set_bit(BTN_TOUCH, dev->keybit); in w8001_setup_touch() 520 __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); in w8001_setup_touch()
|
/linux/drivers/input/mouse/ |
H A D | cypress_ps2.c | 359 __set_bit(BTN_TOUCH, input->keybit); in cypress_set_input_params() 360 __set_bit(BTN_TOOL_FINGER, input->keybit); in cypress_set_input_params() 361 __set_bit(BTN_TOOL_DOUBLETAP, input->keybit); in cypress_set_input_params() 362 __set_bit(BTN_TOOL_TRIPLETAP, input->keybit); in cypress_set_input_params() 363 __set_bit(BTN_TOOL_QUADTAP, input->keybit); in cypress_set_input_params() 364 __set_bit(BTN_TOOL_QUINTTAP, input->keybit); in cypress_set_input_params() 371 __set_bit(BTN_LEFT, input->keybit); in cypress_set_input_params() 372 __set_bit(BTN_RIGHT, input->keybit); in cypress_set_input_params() 373 __set_bit(BTN_MIDDLE, input->keybit); in cypress_set_input_params()
|
H A D | byd.c | 491 __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()
|
H A D | synaptics_usb.c | 406 __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()
|
H A D | sermouse.c | 252 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()
|
H A D | hgpk.c | 551 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()
|
H A D | touchkit_ps2.c | 75 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()
|
H A D | vsxxxaa.c | 478 __set_bit(BTN_LEFT, input_dev->keybit); /* We have 3 buttons */ in vsxxxaa_connect() 479 __set_bit(BTN_MIDDLE, input_dev->keybit); in vsxxxaa_connect() 480 __set_bit(BTN_RIGHT, input_dev->keybit); in vsxxxaa_connect() 481 __set_bit(BTN_TOUCH, input_dev->keybit); /* ...and Tablet */ in vsxxxaa_connect()
|
/linux/drivers/input/keyboard/ |
H A D | pxa27x_keypad.c | 202 __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()
|
H A D | opencores-kbd.c | 85 __set_bit(opencores_kbd->keycodes[i], input->keybit); in opencores_kbd_probe() 87 __clear_bit(KEY_RESERVED, input->keybit); in opencores_kbd_probe()
|
/linux/drivers/input/ |
H A D | sparse-keymap.c | 143 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()
|
H A D | input-mt.c | 64 __set_bit(BTN_TOUCH, dev->keybit); in input_mt_init_slots() 71 __set_bit(BTN_TOOL_FINGER, dev->keybit); in input_mt_init_slots() 72 __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); in input_mt_init_slots() 74 __set_bit(BTN_TOOL_TRIPLETAP, dev->keybit); in input_mt_init_slots() 76 __set_bit(BTN_TOOL_QUADTAP, dev->keybit); in input_mt_init_slots() 78 __set_bit(BTN_TOOL_QUINTTAP, dev->keybit); in input_mt_init_slots()
|
/linux/drivers/input/joystick/ |
H A D | spaceball.c | 223 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()
|
/linux/drivers/misc/ibmasm/ |
H A D | remote.c | 216 mouse_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in ibmasm_init_remote_input_dev() 218 set_bit(BTN_TOUCH, mouse_dev->keybit); in ibmasm_init_remote_input_dev() 233 set_bit(xlate_high[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev() 235 set_bit(xlate[i], keybd_dev->keybit); in ibmasm_init_remote_input_dev()
|