/linux/drivers/hid/ |
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() 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 D | hid-magicmouse.c | 526 __set_bit(BTN_LEFT, input->keybit); in magicmouse_setup_input() 527 __set_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 529 __set_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 547 __clear_bit(BTN_0, input->keybit); in magicmouse_setup_input() 548 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 549 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 550 __set_bit(BTN_MOUSE, input->keybit); in magicmouse_setup_input() 562 __clear_bit(BTN_RIGHT, input->keybit); in magicmouse_setup_input() 563 __clear_bit(BTN_MIDDLE, input->keybit); in magicmouse_setup_input() 564 __set_bit(BTN_MOUSE, input->keybit); in magicmouse_setup_input() [all …]
|
A D | wacom_wac.c | 3444 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_intuos() 3445 __set_bit(BTN_RIGHT, input_dev->keybit); in wacom_setup_intuos() 3447 __set_bit(BTN_SIDE, input_dev->keybit); in wacom_setup_intuos() 3448 __set_bit(BTN_EXTRA, input_dev->keybit); in wacom_setup_intuos() 3628 __set_bit(BTN_TOUCH, input_dev->keybit); in wacom_setup_pen_input_capabilities() 3659 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_pen_input_capabilities() 3793 __set_bit(BTN_TOUCH, input_dev->keybit); in wacom_setup_touch_input_capabilities() 3906 __set_bit(BTN_LEFT, input_dev->keybit); in wacom_setup_touch_input_capabilities() 3934 __set_bit(key, input_dev->keybit); in wacom_setup_numbered_buttons() 4090 __set_bit(BTN_BACK, input_dev->keybit); in wacom_setup_pad_input_capabilities() [all …]
|
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/ |
A D | cm109.c | 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() 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 D | ati_remote2.c | 554 __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 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()
|
A D | xen-kbdfront.c | 95 if (test_bit(key->keycode, info->ptr->keybit)) { in xenkbd_handle_key_event() 97 } else if (test_bit(key->keycode, info->kbd->keybit)) { in xenkbd_handle_key_event() 258 __set_bit(i, kbd->keybit); in xenkbd_probe() 260 __set_bit(i, kbd->keybit); in xenkbd_probe() 317 __set_bit(i, ptr->keybit); in xenkbd_probe()
|
/linux/drivers/macintosh/ |
A D | adbhid.c | 835 set_bit(hid->keycode[i], input_dev->keybit); in adbhid_input_register() 861 set_bit(KEY_SOUND, input_dev->keybit); in adbhid_input_register() 862 set_bit(KEY_MUTE, input_dev->keybit); in adbhid_input_register() 863 set_bit(KEY_VOLUMEUP, input_dev->keybit); in adbhid_input_register() 864 set_bit(KEY_VOLUMEDOWN, input_dev->keybit); in adbhid_input_register() 870 set_bit(KEY_MUTE, input_dev->keybit); in adbhid_input_register() 871 set_bit(KEY_VOLUMEUP, input_dev->keybit); in adbhid_input_register() 872 set_bit(KEY_VOLUMEDOWN, input_dev->keybit); in adbhid_input_register() 873 set_bit(KEY_BRIGHTNESSUP, input_dev->keybit); in adbhid_input_register() 875 set_bit(KEY_EJECTCD, input_dev->keybit); in adbhid_input_register() [all …]
|
/linux/drivers/input/tablet/ |
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/ |
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/ |
A D | wacom_i2c.c | 196 __set_bit(BTN_TOOL_PEN, input->keybit); in wacom_i2c_probe() 197 __set_bit(BTN_TOOL_RUBBER, input->keybit); in wacom_i2c_probe() 198 __set_bit(BTN_STYLUS, input->keybit); in wacom_i2c_probe() 199 __set_bit(BTN_STYLUS2, input->keybit); in wacom_i2c_probe() 200 __set_bit(BTN_TOUCH, input->keybit); in wacom_i2c_probe()
|
A D | wacom_w8001.c | 436 __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/drivers/input/mouse/ |
A D | cypress_ps2.c | 398 __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 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()
|
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()
|
A D | sermouse.c | 255 input_dev->keybit[BIT_WORD(BTN_MOUSE)] = BIT_MASK(BTN_LEFT) | in sermouse_connect() 259 if (c & 0x01) set_bit(BTN_MIDDLE, input_dev->keybit); in sermouse_connect() 260 if (c & 0x02) set_bit(BTN_SIDE, input_dev->keybit); in sermouse_connect() 261 if (c & 0x04) set_bit(BTN_EXTRA, input_dev->keybit); in sermouse_connect()
|
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()
|
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()
|
A D | vsxxxaa.c | 481 __set_bit(BTN_LEFT, input_dev->keybit); /* We have 3 buttons */ in vsxxxaa_connect() 482 __set_bit(BTN_MIDDLE, input_dev->keybit); in vsxxxaa_connect() 483 __set_bit(BTN_RIGHT, input_dev->keybit); in vsxxxaa_connect() 484 __set_bit(BTN_TOUCH, input_dev->keybit); /* ...and Tablet */ in vsxxxaa_connect()
|
/linux/drivers/input/keyboard/ |
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()
|
/linux/drivers/input/ |
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()
|
A D | input-mt.c | 60 __set_bit(BTN_TOUCH, dev->keybit); in input_mt_init_slots() 67 __set_bit(BTN_TOOL_FINGER, dev->keybit); in input_mt_init_slots() 68 __set_bit(BTN_TOOL_DOUBLETAP, dev->keybit); in input_mt_init_slots() 70 __set_bit(BTN_TOOL_TRIPLETAP, dev->keybit); in input_mt_init_slots() 72 __set_bit(BTN_TOOL_QUADTAP, dev->keybit); in input_mt_init_slots() 74 __set_bit(BTN_TOOL_QUINTTAP, dev->keybit); in input_mt_init_slots()
|
/linux/drivers/input/joystick/ |
A D | spaceball.c | 226 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_9); in spaceball_connect() 227 input_dev->keybit[BIT_WORD(BTN_A)] |= BIT_MASK(BTN_A) | in spaceball_connect() 232 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_2) | in spaceball_connect() 238 input_dev->keybit[BIT_WORD(BTN_0)] |= BIT_MASK(BTN_1) | in spaceball_connect()
|
/linux/drivers/misc/ibmasm/ |
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()
|