/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/ |
D | platform_gpio_keys.c | 25 {KEY_POWER, -1, 1, "power_btn", EV_KEY, 0, 3000}, 26 {KEY_PROG1, -1, 1, "prog_btn1", EV_KEY, 0, 20}, 27 {KEY_PROG2, -1, 1, "prog_btn2", EV_KEY, 0, 20}, 29 {KEY_VOLUMEUP, -1, 1, "vol_up", EV_KEY, 0, 20}, 30 {KEY_VOLUMEDOWN, -1, 1, "vol_down", EV_KEY, 0, 20}, 31 {KEY_MUTE, -1, 1, "mute_enable", EV_KEY, 0, 20}, 32 {KEY_VOLUMEUP, -1, 1, "volume_up", EV_KEY, 0, 20}, 33 {KEY_VOLUMEDOWN, -1, 1, "volume_down", EV_KEY, 0, 20}, 34 {KEY_CAMERA, -1, 1, "camera_full", EV_KEY, 0, 20}, 35 {KEY_CAMERA_FOCUS, -1, 1, "camera_half", EV_KEY, 0, 20},
|
/kernel/linux/linux-5.10/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-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() 219 { HID_CP_VOLUMEUP, EV_KEY, HID_ANY_ID }, 220 { HID_CP_VOLUMEDOWN, EV_KEY, HID_ANY_ID },
|
/kernel/linux/linux-5.10/drivers/input/joystick/ |
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 | 836 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_ABS); in gc_setup_pad() 841 input_dev->evbit[0] = BIT_MASK(EV_KEY) | BIT_MASK(EV_REL); in gc_setup_pad() 849 input_set_capability(input_dev, EV_KEY, gc_n64_btn[i]); in gc_setup_pad() 866 input_set_capability(input_dev, EV_KEY, BTN_LEFT); in gc_setup_pad() 867 input_set_capability(input_dev, EV_KEY, BTN_RIGHT); in gc_setup_pad() 874 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad() 879 input_set_capability(input_dev, EV_KEY, gc_snes_btn[i]); in gc_setup_pad() 883 input_set_capability(input_dev, EV_KEY, BTN_THUMB); in gc_setup_pad() 887 input_set_capability(input_dev, EV_KEY, BTN_TRIGGER); in gc_setup_pad() 895 input_set_capability(input_dev, EV_KEY, gc_psx_btn[i]); in gc_setup_pad() [all …]
|
/kernel/linux/linux-5.10/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,
|
/kernel/linux/linux-5.10/drivers/input/keyboard/ |
D | gpio_keys.c | 65 * keys [ro] - bitmap of keys (EV_KEY) which can be 97 * @type: type of button (%EV_KEY, %EV_SW) 104 BUG_ON(type != EV_SW && type != EV_KEY); in get_n_events_by_type() 106 return (type == EV_KEY) ? KEY_CNT : SW_CNT; in get_n_events_by_type() 112 * @type: type of button (%EV_KEY, %EV_SW) 120 BUG_ON(type != EV_SW && type != EV_KEY); in get_bm_events_by_type() 122 return (type == EV_KEY) ? dev->keybit : dev->swbit; in get_bm_events_by_type() 177 * @type: button type (%EV_KEY, %EV_SW) 225 * @type: button type (%EV_KEY, %EV_SW) 300 ATTR_SHOW_FN(keys, EV_KEY, false); [all …]
|
/kernel/linux/linux-5.10/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);
|
D | input-programming.rst | 44 button_dev->evbit[0] = BIT_MASK(EV_KEY); 84 accepted by this input device. Our example device can only generate EV_KEY 88 set_bit(EV_KEY, button_dev.evbit); 170 The most simple event type is EV_KEY, which is used for keys and buttons. 180 In addition to EV_KEY, there are two more basic event types: EV_REL and 188 Having the device report EV_REL buttons is as simple as with EV_KEY, simply
|
/kernel/linux/linux-5.10/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) },
|
/kernel/linux/linux-5.10/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() 157 input_event(d->rc_input_dev, EV_KEY, d->last_event, 0); in legacy_dvb_usb_read_remote_control() 167 input_event(d->rc_input_dev, EV_KEY, event, 1); in legacy_dvb_usb_read_remote_control() 177 input_event(d->rc_input_dev, EV_KEY, d->last_event, 2); in legacy_dvb_usb_read_remote_control() 199 input_dev->evbit[0] = BIT_MASK(EV_KEY); in legacy_dvb_usb_remote_init()
|
/kernel/linux/linux-5.10/arch/arm/mach-omap1/ |
D | board-htcherald.c | 250 {BTN_0, HTCHERALD_GPIO_POWER, 1, "POWER", EV_KEY, 1, 20}, 253 {KEY_LEFT, HTCPLD_GPIO_LEFT_KBD, 1, "LEFT", EV_KEY, 1, 20}, 254 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_KBD, 1, "RIGHT", EV_KEY, 1, 20}, 255 {KEY_UP, HTCPLD_GPIO_UP_KBD, 1, "UP", EV_KEY, 1, 20}, 256 {KEY_DOWN, HTCPLD_GPIO_DOWN_KBD, 1, "DOWN", EV_KEY, 1, 20}, 258 {KEY_LEFT, HTCPLD_GPIO_LEFT_DPAD, 1, "DLEFT", EV_KEY, 1, 20}, 259 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_DPAD, 1, "DRIGHT", EV_KEY, 1, 20}, 260 {KEY_UP, HTCPLD_GPIO_UP_DPAD, 1, "DUP", EV_KEY, 1, 20}, 261 {KEY_DOWN, HTCPLD_GPIO_DOWN_DPAD, 1, "DDOWN", EV_KEY, 1, 20}, 262 {KEY_ENTER, HTCPLD_GPIO_ENTER_DPAD, 1, "DENTER", EV_KEY, 1, 20},
|
/kernel/linux/linux-5.10/drivers/input/misc/ |
D | sirfsoc-onkey.c | 47 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); in sirfsoc_pwrc_report_event() 62 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); in sirfsoc_pwrc_isr() 137 pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); in sirfsoc_pwrc_probe() 138 input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); in sirfsoc_pwrc_probe()
|
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 }, 533 { "power", 0, EV_KEY, KEY_POWER, false, true, true }, 534 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true }, 535 { "volume_down", 4, EV_KEY, KEY_VOLUMEDOWN, true, false, true },
|
/kernel/linux/linux-5.10/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()
|
D | surface3_button.c | 174 { "power", 0, EV_KEY, KEY_POWER, false, true, true }, 175 { "home", 1, EV_KEY, KEY_LEFTMETA, false, true, false }, 176 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true }, 177 { "volume_down", 3, EV_KEY, KEY_VOLUMEDOWN, true, false, true },
|
D | surfacepro3_button.c | 223 input_set_capability(input, EV_KEY, KEY_POWER); in surface_button_add() 224 input_set_capability(input, EV_KEY, KEY_LEFTMETA); in surface_button_add() 225 input_set_capability(input, EV_KEY, KEY_VOLUMEUP); in surface_button_add() 226 input_set_capability(input, EV_KEY, KEY_VOLUMEDOWN); in surface_button_add()
|
/kernel/linux/linux-5.10/drivers/input/ |
D | input-mt.c | 59 __set_bit(EV_KEY, dev->evbit); in input_mt_init_slots() 176 input_event(dev, EV_KEY, BTN_TOOL_FINGER, count == 1); in input_mt_report_finger_count() 177 input_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, count == 2); in input_mt_report_finger_count() 178 input_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, count == 3); in input_mt_report_finger_count() 179 input_event(dev, EV_KEY, BTN_TOOL_QUADTAP, count == 4); in input_mt_report_finger_count() 180 input_event(dev, EV_KEY, BTN_TOOL_QUINTTAP, count == 5); in input_mt_report_finger_count() 221 input_event(dev, EV_KEY, BTN_TOUCH, count > 0); in input_mt_report_pointer_emulation()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/linux/input/ |
D | adxl34x.h | 288 u32 ev_code_tap[3]; /* EV_KEY {X-Axis, Y-Axis, Z-Axis} */ 296 u32 ev_code_ff; /* EV_KEY */ 297 u32 ev_code_act_inactivity; /* EV_KEY */ 354 u32 ev_codes_orient_2d[4]; /* EV_KEY {+X, -X, +Y, -Y} */ 355 u32 ev_codes_orient_3d[6]; /* EV_KEY {+Z, +Y, +X, -X, -Y, -Z} */
|
/kernel/linux/linux-5.10/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) },
|