/Linux-v6.1/drivers/hid/ |
D | hid-steam.c | 426 input_set_capability(input, EV_KEY, BTN_TR2); in steam_input_register() 427 input_set_capability(input, EV_KEY, BTN_TL2); in steam_input_register() 428 input_set_capability(input, EV_KEY, BTN_TR); in steam_input_register() 429 input_set_capability(input, EV_KEY, BTN_TL); in steam_input_register() 430 input_set_capability(input, EV_KEY, BTN_Y); in steam_input_register() 431 input_set_capability(input, EV_KEY, BTN_B); in steam_input_register() 432 input_set_capability(input, EV_KEY, BTN_X); in steam_input_register() 433 input_set_capability(input, EV_KEY, BTN_A); in steam_input_register() 434 input_set_capability(input, EV_KEY, BTN_DPAD_UP); in steam_input_register() 435 input_set_capability(input, EV_KEY, BTN_DPAD_RIGHT); in steam_input_register() [all …]
|
D | hid-ite.c | 53 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F22); in ite_input_mapping() 58 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F23); in ite_input_mapping() 83 input_event(input, EV_KEY, KEY_RFKILL, 1); in ite_event() 85 input_event(input, EV_KEY, KEY_RFKILL, 0); in ite_event()
|
D | hid-letsketch.c | 116 input_set_capability(input, EV_KEY, BTN_TOUCH); in letsketch_setup_input_tablet() 117 input_set_capability(input, EV_KEY, BTN_TOOL_PEN); in letsketch_setup_input_tablet() 118 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet() 119 input_set_capability(input, EV_KEY, BTN_STYLUS2); in letsketch_setup_input_tablet() 139 input_set_capability(input, EV_KEY, BTN_0 + i); in letsketch_setup_input_tablet_pad() 147 input_set_capability(input, EV_KEY, BTN_STYLUS); in letsketch_setup_input_tablet_pad()
|
D | hid-zydacron.c | 43 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, (c)) 123 input_event(zc->input_ep81, EV_KEY, key, 0); in zc_raw_event() 152 input_event(zc->input_ep81, EV_KEY, key, 1); in zc_raw_event()
|
D | hid-plantronics.c | 114 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, mapped_key); in plantronics_input_mapping() 210 { HID_CP_VOLUMEUP, EV_KEY, HID_ANY_ID }, 211 { HID_CP_VOLUMEDOWN, EV_KEY, HID_ANY_ID },
|
D | hid-gfrm.c | 36 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_INFO); in gfrm_input_mapping() 42 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_OK); in gfrm_input_mapping()
|
D | hid-icade.c | 200 hid_map_usage(hi, usage, bit, max, EV_KEY, trans->to); in icade_input_mapping() 215 if (usage->type == EV_KEY) in icade_input_mapped()
|
/Linux-v6.1/drivers/input/joystick/ |
D | n64joy.c | 289 input_set_capability(dev, EV_KEY, BTN_DPAD_UP); in n64joy_probe() 290 input_set_capability(dev, EV_KEY, BTN_DPAD_DOWN); in n64joy_probe() 291 input_set_capability(dev, EV_KEY, BTN_DPAD_LEFT); in n64joy_probe() 292 input_set_capability(dev, EV_KEY, BTN_DPAD_RIGHT); in n64joy_probe() 294 input_set_capability(dev, EV_KEY, BTN_LEFT); in n64joy_probe() 295 input_set_capability(dev, EV_KEY, BTN_RIGHT); in n64joy_probe() 296 input_set_capability(dev, EV_KEY, BTN_FORWARD); in n64joy_probe() 297 input_set_capability(dev, EV_KEY, BTN_BACK); in n64joy_probe() 299 input_set_capability(dev, EV_KEY, BTN_START); in n64joy_probe() 300 input_set_capability(dev, EV_KEY, BTN_Z); in n64joy_probe() [all …]
|
D | psxpad-spi.c | 317 input_set_capability(idev, EV_KEY, BTN_DPAD_UP); in psxpad_spi_probe() 318 input_set_capability(idev, EV_KEY, BTN_DPAD_DOWN); in psxpad_spi_probe() 319 input_set_capability(idev, EV_KEY, BTN_DPAD_LEFT); in psxpad_spi_probe() 320 input_set_capability(idev, EV_KEY, BTN_DPAD_RIGHT); in psxpad_spi_probe() 321 input_set_capability(idev, EV_KEY, BTN_A); in psxpad_spi_probe() 322 input_set_capability(idev, EV_KEY, BTN_B); in psxpad_spi_probe() 323 input_set_capability(idev, EV_KEY, BTN_X); in psxpad_spi_probe() 324 input_set_capability(idev, EV_KEY, BTN_Y); in psxpad_spi_probe() 325 input_set_capability(idev, EV_KEY, BTN_TL); in psxpad_spi_probe() 326 input_set_capability(idev, EV_KEY, BTN_TR); in psxpad_spi_probe() [all …]
|
D | gamecon.c | 833 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in gc_setup_pad() 838 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in gc_setup_pad() 846 input_set_capability(input_dev, EV_KEY, gc_n64_btn[i]); in gc_setup_pad() 863 input_set_capability(input_dev, EV_KEY, BTN_LEFT); in gc_setup_pad() 864 input_set_capability(input_dev, EV_KEY, BTN_RIGHT); in gc_setup_pad() 871 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad() 876 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad() 880 input_set_capability(input_dev, EV_KEY, BTN_THUMB); in gc_setup_pad() 884 input_set_capability(input_dev, EV_KEY, BTN_TRIGGER); in gc_setup_pad() 892 input_set_capability(input_dev, EV_KEY, gc_psx_btn[i]); in gc_setup_pad() [all …]
|
/Linux-v6.1/arch/arm/mach-s3c/ |
D | mach-smartq7.c | 62 .type = EV_KEY, 70 .type = EV_KEY, 78 .type = EV_KEY, 86 .type = EV_KEY, 94 .type = EV_KEY, 102 .type = EV_KEY,
|
D | mach-smartq5.c | 62 .type = EV_KEY, 70 .type = EV_KEY, 78 .type = EV_KEY, 86 .type = EV_KEY,
|
/Linux-v6.1/drivers/input/misc/ |
D | soc_button_array.c | 251 info->event_type = EV_KEY; in soc_button_parse_btn_desc() 463 { "power", 0, EV_KEY, KEY_POWER, false, true, true }, 464 { "home", 1, EV_KEY, KEY_LEFTMETA, false, true, true }, 465 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true }, 466 { "volume_down", 3, EV_KEY, KEY_VOLUMEDOWN, true, false, true }, 467 { "rotation_lock", 4, EV_KEY, KEY_ROTATE_LOCK_TOGGLE, false, false, true }, 494 { "power", 0, EV_KEY, KEY_POWER, false, true, true }, 495 { "home", 1, EV_KEY, KEY_LEFTMETA, false, true, false }, 496 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true }, 497 { "volume_down", 3, EV_KEY, KEY_VOLUMEDOWN, true, false, true }, [all …]
|
/Linux-v6.1/arch/arm/mach-omap1/ |
D | board-htcherald.c | 243 {BTN_0, HTCHERALD_GPIO_POWER, 1, "POWER", EV_KEY, 1, 20}, 246 {KEY_LEFT, HTCPLD_GPIO_LEFT_KBD, 1, "LEFT", EV_KEY, 1, 20}, 247 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_KBD, 1, "RIGHT", EV_KEY, 1, 20}, 248 {KEY_UP, HTCPLD_GPIO_UP_KBD, 1, "UP", EV_KEY, 1, 20}, 249 {KEY_DOWN, HTCPLD_GPIO_DOWN_KBD, 1, "DOWN", EV_KEY, 1, 20}, 251 {KEY_LEFT, HTCPLD_GPIO_LEFT_DPAD, 1, "DLEFT", EV_KEY, 1, 20}, 252 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_DPAD, 1, "DRIGHT", EV_KEY, 1, 20}, 253 {KEY_UP, HTCPLD_GPIO_UP_DPAD, 1, "DUP", EV_KEY, 1, 20}, 254 {KEY_DOWN, HTCPLD_GPIO_DOWN_DPAD, 1, "DDOWN", EV_KEY, 1, 20}, 255 {KEY_ENTER, HTCPLD_GPIO_ENTER_DPAD, 1, "DENTER", EV_KEY, 1, 20},
|
/Linux-v6.1/net/rfkill/ |
D | input.c | 196 if (type == EV_KEY && data == 1) { in rfkill_event() 277 .evbit = { BIT_MASK(EV_KEY) }, 282 .evbit = { BIT_MASK(EV_KEY) }, 287 .evbit = { BIT_MASK(EV_KEY) }, 292 .evbit = { BIT_MASK(EV_KEY) }, 297 .evbit = { BIT_MASK(EV_KEY) },
|
/Linux-v6.1/drivers/input/keyboard/ |
D | gpio_keys.c | 107 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type() 109 return (type == EV_KEY) ? KEY_CNT : SW_CNT; in get_n_events_by_type() 123 BUG_ON(type != EV_SW && type != EV_KEY); in get_bm_events_by_type() 125 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type() 310 ATTR_SHOW_FN(keys, EV_KEY, false); 312 ATTR_SHOW_FN(disabled_keys, EV_KEY, true); 341 ATTR_STORE_FN(disabled_keys, EV_KEY); 370 unsigned int type = button->type ?: EV_KEY; in gpio_keys_gpio_report_event() 428 (button->type == 0 || button->type == EV_KEY)) { in gpio_keys_gpio_isr() 459 input_event(input, EV_KEY, *bdata->code, 0); in gpio_keys_irq_timer() [all …]
|
/Linux-v6.1/drivers/platform/x86/ |
D | peaq-wmi.c | 60 input_event(input_dev, EV_KEY, KEY_SOUND, 1); in peaq_wmi_poll() 62 input_event(input_dev, EV_KEY, KEY_SOUND, 0); in peaq_wmi_poll() 98 input_set_capability(peaq_poll_dev, EV_KEY, KEY_SOUND); in peaq_wmi_init()
|
/Linux-v6.1/drivers/platform/surface/ |
D | surfacepro3_button.c | 221 input_set_capability(input, EV_KEY, KEY_POWER); in surface_button_add() 222 input_set_capability(input, EV_KEY, KEY_LEFTMETA); in surface_button_add() 223 input_set_capability(input, EV_KEY, KEY_VOLUMEUP); in surface_button_add() 224 input_set_capability(input, EV_KEY, KEY_VOLUMEDOWN); in surface_button_add()
|
/Linux-v6.1/drivers/input/mouse/ |
D | logips2pp.c | 277 input_set_capability(input_dev, EV_KEY, BTN_SIDE); in ps2pp_set_model_properties() 280 input_set_capability(input_dev, EV_KEY, BTN_EXTRA); in ps2pp_set_model_properties() 283 input_set_capability(input_dev, EV_KEY, BTN_TASK); in ps2pp_set_model_properties() 286 input_set_capability(input_dev, EV_KEY, BTN_FORWARD); in ps2pp_set_model_properties() 287 input_set_capability(input_dev, EV_KEY, BTN_BACK); in ps2pp_set_model_properties() 436 input_set_capability(psmouse->dev, EV_KEY, BTN_MIDDLE); in ps2pp_detect()
|
D | gpio_mouse.c | 125 input_set_capability(input, EV_KEY, BTN_LEFT); in gpio_mouse_probe() 127 input_set_capability(input, EV_KEY, BTN_MIDDLE); in gpio_mouse_probe() 129 input_set_capability(input, EV_KEY, BTN_RIGHT); in gpio_mouse_probe()
|
/Linux-v6.1/drivers/input/ |
D | input-mt.c | 60 __set_bit(EV_KEY, dev->evbit); in input_mt_init_slots() 177 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 181 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 222 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
|
/Linux-v6.1/Documentation/input/ |
D | uinput.rst | 73 ioctl(fd, UI_SET_EVBIT, EV_KEY); 95 emit(fd, EV_KEY, KEY_SPACE, 1); 97 emit(fd, EV_KEY, KEY_SPACE, 0); 132 ioctl(fd, UI_SET_EVBIT, EV_KEY); 210 ioctl(fd, UI_SET_EVBIT, EV_KEY); 229 emit(fd, EV_KEY, KEY_SPACE, 1); 231 emit(fd, EV_KEY, KEY_SPACE, 0);
|
/Linux-v6.1/drivers/macintosh/ |
D | mac_hid.c | 50 mac_hid_emumouse_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in mac_hid_create_emumouse() 77 if (type != EV_KEY) in mac_hid_emumouse_filter() 147 .evbit = { BIT_MASK(EV_KEY) },
|
/Linux-v6.1/drivers/input/touchscreen/ |
D | max11801_ts.c | 136 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 1); in max11801_ts_interrupt() 141 input_event(data->input_dev, EV_KEY, BTN_TOUCH, 0); in max11801_ts_interrupt() 193 __set_bit(EV_KEY, input_dev->evbit); in max11801_ts_probe()
|
/Linux-v6.1/drivers/media/usb/dvb-usb/ |
D | dvb-usb-remote.c | 135 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 137 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 142 input_event(d->input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 144 input_event(d->input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 199 input_dev->evbit[0] = BIT_MASK(EV_KEY); in legacy_dvb_usb_remote_init()
|