Home
last modified time | relevance | path

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

12

/linux-2.4.37.9/drivers/usb/
Dhid-input.c107 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
121 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
143 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
151 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
181 if (!test_bit(BTN_TOUCH, input->keybit)) { in hidinput_configure_usage()
184 set_bit(BTN_TOUCH, input->keybit); in hidinput_configure_usage()
193 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
203 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
213 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
220 usage->type = EV_KEY; bit = input->keybit; max = KEY_MAX; in hidinput_configure_usage()
[all …]
Dkbtab.c107 kbtab->dev.keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); in kbtab_probe()
108 kbtab->dev.keybit[LONG(BTN_DIGI)] |= BIT(BTN_STYLUS); in kbtab_probe()
Dusbmouse.c131 mouse->dev.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE); in usb_mouse_probe()
133 mouse->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_SIDE) | BIT(BTN_EXTRA); in usb_mouse_probe()
Dusbkbd.c207 set_bit(usb_kbd_keycode[i], kbd->dev.keybit); in usb_kbd_probe()
208 clear_bit(0, kbd->dev.keybit); in usb_kbd_probe()
Daiptek.c1258 set_bit(macroKeyEvents[i], aiptek->dev.keybit); in aiptek_probe()
1261 aiptek->dev.keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) in aiptek_probe()
1265 aiptek->dev.keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) in aiptek_probe()
Dwacom.c448 …wacom->dev.keybit[LONG(BTN_LEFT)] |= BIT(BTN_LEFT) | BIT(BTN_RIGHT) | BIT(BTN_MIDDLE) | wacom->fea… in wacom_probe()
449 …wacom->dev.keybit[LONG(BTN_DIGI)] |= BIT(BTN_TOOL_PEN) | BIT(BTN_TOOL_RUBBER) | BIT(BTN_TOOL_MOUSE… in wacom_probe()
/linux-2.4.37.9/drivers/macintosh/
Dadbhid.c517 set_bit(adbhid[id]->keycode[i], adbhid[id]->input.keybit); in adbhid_input_register()
531 adbhid[id]->input.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in adbhid_input_register()
545 set_bit(KEY_MUTE, adbhid[id]->input.keybit); in adbhid_input_register()
546 set_bit(KEY_VOLUMEUP, adbhid[id]->input.keybit); in adbhid_input_register()
547 set_bit(KEY_VOLUMEDOWN, adbhid[id]->input.keybit); in adbhid_input_register()
548 set_bit(KEY_BRIGHTNESSUP, adbhid[id]->input.keybit); in adbhid_input_register()
549 set_bit(KEY_BRIGHTNESSDOWN, adbhid[id]->input.keybit); in adbhid_input_register()
550 set_bit(KEY_EJECTCD, adbhid[id]->input.keybit); in adbhid_input_register()
Dmac_hid.c462 emumousebtn.keybit[LONG(BTN_MOUSE)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in emumousebtn_input_register()
/linux-2.4.37.9/drivers/char/joystick/
Dgamecon.c524 set_bit(gc_n64_btn[j], gc->dev[i].keybit); in gc_probe()
540 set_bit(gc_snes_btn[j], gc->dev[i].keybit); in gc_probe()
543 set_bit(gc_snes_btn[j], gc->dev[i].keybit); in gc_probe()
547 set_bit(BTN_THUMB, gc->dev[i].keybit); in gc_probe()
549 set_bit(BTN_TRIGGER, gc->dev[i].keybit); in gc_probe()
576 set_bit(gc_psx_btn[j], gc->dev[i].keybit); in gc_probe()
Da3d.c299 a3d->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_RIGHT) | BIT(BTN_LEFT) | BIT(BTN_MIDDLE) in a3d_connect()
302 …a3d->dev.keybit[LONG(BTN_JOYSTICK)] |= BIT(BTN_TRIGGER) | BIT(BTN_THUMB) | BIT(BTN_TOP) | BIT(BTN_… in a3d_connect()
324 a3d->dev.keybit[LONG(BTN_MOUSE)] |= BIT(BTN_RIGHT) | BIT(BTN_LEFT) | BIT(BTN_MIDDLE); in a3d_connect()
Dgf2k.c309 set_bit(gf2k_btn_joy[i], gf2k->dev.keybit); in gf2k_connect()
312 set_bit(gf2k_btn_pad[i], gf2k->dev.keybit); in gf2k_connect()
Danalog.c475 set_bit(analog->buttons[j++], analog->dev.keybit); in analog_init_device()
479 set_bit(analog->buttons[j++], analog->dev.keybit); in analog_init_device()
483 set_bit(analog->buttons[j++], analog->dev.keybit); in analog_init_device()
487 set_bit(analog_pads[i], analog->dev.keybit); in analog_init_device()
Damijoy.c129 amijoy_dev[i].keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); in amijoy_init()
Dmagellan.c156 set_bit(magellan_buttons[i], &magellan->dev.keybit); in magellan_connect()
Dstinger.c143 stinger->dev.keybit[LONG(BTN_A)] = BIT(BTN_A) | BIT(BTN_B) | BIT(BTN_C) | BIT(BTN_X) | \ in stinger_connect()
Dspaceball.c180 spaceball->dev.keybit[LONG(BTN_0)] = BIT(BTN_0) | BIT(BTN_1); in spaceball_connect()
Dspaceorb.c171 set_bit(spaceorb_buttons[i], &spaceorb->dev.keybit); in spaceorb_connect()
Dwarrior.c148 …warrior->dev.keybit[LONG(BTN_TRIGGER)] = BIT(BTN_TRIGGER) | BIT(BTN_THUMB) | BIT(BTN_TOP) | BIT(BT… in warrior_connect()
Dinteract.c270 set_bit(t, interact->dev.keybit); in interact_connect()
/linux-2.4.37.9/drivers/input/
Djoydev.c430 (test_bit(BTN_TRIGGER, dev->keybit) || test_bit(BTN_A, dev->keybit) in joydev_connect()
431 || test_bit(BTN_1, dev->keybit)))) return NULL; in joydev_connect()
462 if (test_bit(i + BTN_MISC, dev->keybit)) { in joydev_connect()
469 if (test_bit(i + BTN_MISC, dev->keybit)) { in joydev_connect()
Dmousedev.c99 if (test_bit(BTN_TRIGGER, handle->dev->keybit)) in mousedev_event()
412 (!test_bit(BTN_LEFT, dev->keybit) && in mousedev_connect()
413 !test_bit(BTN_MIDDLE, dev->keybit) && in mousedev_connect()
414 !test_bit(BTN_TOUCH, dev->keybit))) in mousedev_connect()
Dkeybdev.c192 if (test_bit(i, dev->keybit)) break; in keybdev_connect()
/linux-2.4.37.9/drivers/hil/
Dhilkbd.c303 set_bit(hil_kbd_set1[i], hil_dev.dev.keybit); in hil_keyb_init()
304 clear_bit(0, hil_dev.dev.keybit); in hil_keyb_init()
Dhil_kbd.c395 set_bit(hil_kbd_set1[i], kbd->dev.keybit); in hil_kbd_connect()
396 set_bit(hil_kbd_set3[i], kbd->dev.keybit); in hil_kbd_connect()
398 clear_bit(0, kbd->dev.keybit); in hil_kbd_connect()
/linux-2.4.37.9/drivers/char/
Dobmouse.c290 obdev.keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_RIGHT); in obmouse_init()

12