Home
last modified time | relevance | path

Searched full:ev_key (Results 1 – 25 of 764) sorted by relevance

12345678910>>...31

/kernel/linux/linux-4.19/arch/arm/mach-imx/
Dmach-pcm037_eet.c66 .type = EV_KEY,
72 .type = EV_KEY,
78 .type = EV_KEY,
84 .type = EV_KEY,
90 .type = EV_KEY,
96 .type = EV_KEY,
102 .type = EV_KEY,
108 .type = EV_KEY,
114 .type = EV_KEY,
120 .type = EV_KEY,
[all …]
/kernel/linux/linux-5.10/arch/x86/platform/intel-mid/device_libs/
Dplatform_gpio_keys.c25 {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-4.19/arch/x86/platform/intel-mid/device_libs/
Dplatform_gpio_keys.c29 {KEY_POWER, -1, 1, "power_btn", EV_KEY, 0, 3000},
30 {KEY_PROG1, -1, 1, "prog_btn1", EV_KEY, 0, 20},
31 {KEY_PROG2, -1, 1, "prog_btn2", EV_KEY, 0, 20},
33 {KEY_VOLUMEUP, -1, 1, "vol_up", EV_KEY, 0, 20},
34 {KEY_VOLUMEDOWN, -1, 1, "vol_down", EV_KEY, 0, 20},
35 {KEY_MUTE, -1, 1, "mute_enable", EV_KEY, 0, 20},
36 {KEY_VOLUMEUP, -1, 1, "volume_up", EV_KEY, 0, 20},
37 {KEY_VOLUMEDOWN, -1, 1, "volume_down", EV_KEY, 0, 20},
38 {KEY_CAMERA, -1, 1, "camera_full", EV_KEY, 0, 20},
39 {KEY_CAMERA_FOCUS, -1, 1, "camera_half", EV_KEY, 0, 20},
/kernel/linux/linux-5.10/drivers/hid/
Dhid-steam.c416 input_set_capability(input, EV_KEY, BTN_TR2); in steam_input_register()
417 input_set_capability(input, EV_KEY, BTN_TL2); in steam_input_register()
418 input_set_capability(input, EV_KEY, BTN_TR); in steam_input_register()
419 input_set_capability(input, EV_KEY, BTN_TL); in steam_input_register()
420 input_set_capability(input, EV_KEY, BTN_Y); in steam_input_register()
421 input_set_capability(input, EV_KEY, BTN_B); in steam_input_register()
422 input_set_capability(input, EV_KEY, BTN_X); in steam_input_register()
423 input_set_capability(input, EV_KEY, BTN_A); in steam_input_register()
424 input_set_capability(input, EV_KEY, BTN_DPAD_UP); in steam_input_register()
425 input_set_capability(input, EV_KEY, BTN_DPAD_RIGHT); in steam_input_register()
[all …]
Dhid-ite.c42 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F22); in ite_input_mapping()
47 hid_map_usage_clear(hi, usage, bit, max, EV_KEY, KEY_F23); in ite_input_mapping()
72 input_event(input, EV_KEY, KEY_RFKILL, 1); in ite_event()
74 input_event(input, EV_KEY, KEY_RFKILL, 0); in ite_event()
/kernel/linux/linux-4.19/drivers/hid/
Dhid-steam.c416 input_set_capability(input, EV_KEY, BTN_TR2); in steam_input_register()
417 input_set_capability(input, EV_KEY, BTN_TL2); in steam_input_register()
418 input_set_capability(input, EV_KEY, BTN_TR); in steam_input_register()
419 input_set_capability(input, EV_KEY, BTN_TL); in steam_input_register()
420 input_set_capability(input, EV_KEY, BTN_Y); in steam_input_register()
421 input_set_capability(input, EV_KEY, BTN_B); in steam_input_register()
422 input_set_capability(input, EV_KEY, BTN_X); in steam_input_register()
423 input_set_capability(input, EV_KEY, BTN_A); in steam_input_register()
424 input_set_capability(input, EV_KEY, BTN_DPAD_UP); in steam_input_register()
425 input_set_capability(input, EV_KEY, BTN_DPAD_RIGHT); in steam_input_register()
[all …]
/kernel/linux/linux-4.19/drivers/input/joystick/
Dpsxpad-spi.c325 input_set_capability(idev, EV_KEY, BTN_DPAD_UP); in psxpad_spi_probe()
326 input_set_capability(idev, EV_KEY, BTN_DPAD_DOWN); in psxpad_spi_probe()
327 input_set_capability(idev, EV_KEY, BTN_DPAD_LEFT); in psxpad_spi_probe()
328 input_set_capability(idev, EV_KEY, BTN_DPAD_RIGHT); in psxpad_spi_probe()
329 input_set_capability(idev, EV_KEY, BTN_A); in psxpad_spi_probe()
330 input_set_capability(idev, EV_KEY, BTN_B); in psxpad_spi_probe()
331 input_set_capability(idev, EV_KEY, BTN_X); in psxpad_spi_probe()
332 input_set_capability(idev, EV_KEY, BTN_Y); in psxpad_spi_probe()
333 input_set_capability(idev, EV_KEY, BTN_TL); in psxpad_spi_probe()
334 input_set_capability(idev, EV_KEY, BTN_TR); in psxpad_spi_probe()
[all …]
/kernel/linux/linux-5.10/drivers/input/joystick/
Dpsxpad-spi.c317 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 …]
/kernel/linux/linux-4.19/arch/arm/mach-s3c64xx/
Dmach-smartq7.c63 .type = EV_KEY,
71 .type = EV_KEY,
79 .type = EV_KEY,
87 .type = EV_KEY,
95 .type = EV_KEY,
103 .type = EV_KEY,
Dmach-smartq5.c63 .type = EV_KEY,
71 .type = EV_KEY,
79 .type = EV_KEY,
87 .type = EV_KEY,
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-smartq7.c62 .type = EV_KEY,
70 .type = EV_KEY,
78 .type = EV_KEY,
86 .type = EV_KEY,
94 .type = EV_KEY,
102 .type = EV_KEY,
Dmach-smartq5.c62 .type = EV_KEY,
70 .type = EV_KEY,
78 .type = EV_KEY,
86 .type = EV_KEY,
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dgpio_keys.c65 * 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-4.19/drivers/input/keyboard/
Dgpio_keys.c68 * keys [ro] - bitmap of keys (EV_KEY) which can be
100 * @type: type of button (%EV_KEY, %EV_SW)
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()
115 * @type: type of button (%EV_KEY, %EV_SW)
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()
180 * @type: button type (%EV_KEY, %EV_SW)
228 * @type: button type (%EV_KEY, %EV_SW)
303 ATTR_SHOW_FN(keys, EV_KEY, false);
[all …]
/kernel/linux/linux-4.19/Documentation/input/
Duinput.rst73 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);
/kernel/linux/linux-5.10/Documentation/input/
Duinput.rst73 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);
/kernel/linux/linux-4.19/net/rfkill/
Dinput.c199 if (type == EV_KEY && data == 1) { in rfkill_event()
280 .evbit = { BIT_MASK(EV_KEY) },
285 .evbit = { BIT_MASK(EV_KEY) },
290 .evbit = { BIT_MASK(EV_KEY) },
295 .evbit = { BIT_MASK(EV_KEY) },
300 .evbit = { BIT_MASK(EV_KEY) },
/kernel/linux/linux-5.10/net/rfkill/
Dinput.c196 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/
Ddvb-usb-remote.c135 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-4.19/drivers/media/usb/dvb-usb/
Ddvb-usb-remote.c135 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/
Dboard-htcherald.c250 {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/
Dsirfsoc-onkey.c47 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()
Dsoc_button_array.c239 info->event_type = EV_KEY; in soc_button_parse_btn_desc()
451 { "power", 0, EV_KEY, KEY_POWER, false, true, true },
452 { "home", 1, EV_KEY, KEY_LEFTMETA, false, true, true },
453 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true },
454 { "volume_down", 3, EV_KEY, KEY_VOLUMEDOWN, true, false, true },
455 { "rotation_lock", 4, EV_KEY, KEY_ROTATE_LOCK_TOGGLE, false, false, true },
521 { "power", 0, EV_KEY, KEY_POWER, false, true, true },
522 { "volume_up", 2, EV_KEY, KEY_VOLUMEUP, true, false, true },
523 { "volume_down", 4, EV_KEY, KEY_VOLUMEDOWN, true, false, true },
/kernel/linux/linux-4.19/drivers/input/misc/
Dsirfsoc-onkey.c48 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 0); in sirfsoc_pwrc_report_event()
63 input_event(pwrcdrv->input, EV_KEY, KEY_POWER, 1); in sirfsoc_pwrc_isr()
138 pwrcdrv->input->evbit[0] = BIT_MASK(EV_KEY); in sirfsoc_pwrc_probe()
139 input_set_capability(pwrcdrv->input, EV_KEY, KEY_POWER); in sirfsoc_pwrc_probe()
/kernel/linux/linux-4.19/arch/arm/mach-omap1/
Dboard-htcherald.c265 {BTN_0, HTCHERALD_GPIO_POWER, 1, "POWER", EV_KEY, 1, 20},
268 {KEY_LEFT, HTCPLD_GPIO_LEFT_KBD, 1, "LEFT", EV_KEY, 1, 20},
269 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_KBD, 1, "RIGHT", EV_KEY, 1, 20},
270 {KEY_UP, HTCPLD_GPIO_UP_KBD, 1, "UP", EV_KEY, 1, 20},
271 {KEY_DOWN, HTCPLD_GPIO_DOWN_KBD, 1, "DOWN", EV_KEY, 1, 20},
273 {KEY_LEFT, HTCPLD_GPIO_LEFT_DPAD, 1, "DLEFT", EV_KEY, 1, 20},
274 {KEY_RIGHT, HTCPLD_GPIO_RIGHT_DPAD, 1, "DRIGHT", EV_KEY, 1, 20},
275 {KEY_UP, HTCPLD_GPIO_UP_DPAD, 1, "DUP", EV_KEY, 1, 20},
276 {KEY_DOWN, HTCPLD_GPIO_DOWN_DPAD, 1, "DDOWN", EV_KEY, 1, 20},
277 {KEY_ENTER, HTCPLD_GPIO_ENTER_DPAD, 1, "DENTER", EV_KEY, 1, 20},

12345678910>>...31