Home
last modified time | relevance | path

Searched +full:key +full:- +full:press (Results 1 – 25 of 143) sorted by relevance

123456

/linux/Documentation/devicetree/bindings/input/
H A Dadc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/adc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Alexandre Belloni <alexandre.belloni@bootlin.com>
13 - $ref: input.yaml#
17 const: adc-keys
19 io-channels:
22 io-channel-names:
25 keyup-threshold-microvolt:
[all …]
H A Ddlg,da9062-onkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/dlg,da9062-onkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Biju Das <biju.das.jz@bp.renesas.com>
21 - enum:
22 - dlg,da9062-onkey
23 - dlg,da9063-onkey
24 - items:
25 - const: dlg,da9061-onkey
[all …]
H A Domap-keypad.txt3 TI's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
9 This binding is based on the matrix-keymap binding with the following
12 keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be one of the following
16 - "ti,omap4-keypad": For controllers compatible with omap4 keypad
20 - linux,keypad-no-autorepeat: do no enable autorepeat feature.
24 compatible = "ti,omap4-keypad";
25 keypad,num-rows = <2>;
[all …]
H A Dtwl4030-keypad.txt3 TWL4030's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
9 This binding is based on the matrix-keymap binding with the following
12 * keypad,num-rows and keypad,num-columns are required.
15 - compatible: should be one of the following
16 - "ti,twl4030-keypad": For controllers compatible with twl4030 keypad
18 - interrupt: should be one of the following
19 - <1>: For controllers compatible with twl4030 keypad controller.
23 compatible = "ti,twl4030-keypad";
[all …]
H A Dqcom,pm8921-pwrkey.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8921-pwrkey.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Qualcomm PM8921 PMIC Power Key
10 - Bjorn Andersson <andersson@kernel.org>
13 - $ref: input.yaml#
18 - enum:
19 - qcom,pm8921-pwrkey
20 - qcom,pm8058-pwrkey
[all …]
/linux/scripts/kconfig/
H A Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
17 #include "mnconf-common.h"
23 "------------\n"
30 " of <?> <h>, or if in a data entry window then press <F1>.\n"
34 "------------\n"
36 "build. Kernel features can either be built-in, modularized, or removed.\n"
43 " - - are selected by another feature\n"
49 "listed below and press <y> to build it in, <m> to make it a module or\n"
50 "<n> to remove it. You may press the <Space> key to cycle through the\n"
53 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
[all …]
H A Dmconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <pasky@ucw.cz>
26 #include "mnconf-common.h"
30 "--------\n"
32 "Features can either be built-in, modularized, or ignored. Parameters\n"
39 " - - are selected by other feature,\n"
44 "keys and press <Y> to build it in, <M> to make it a module or\n"
45 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
[all …]
/linux/drivers/platform/x86/intel/
H A Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <linux/input/sparse-keymap.h>
41 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
42 { KE_IGNORE, 0xC1, { KEY_POWER } }, /* power key release */
43 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
44 { KE_KEY, 0xC3, { KEY_LEFTMETA } }, /* 'Windows' key release */
45 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
46 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
47 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
48 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
[all …]
/linux/Documentation/admin-guide/
H A Dspkguide.txt16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
25 http://linux-speakup.org/. Speakup is a set of patches to the standard
72 acntsa -- Accent SA
73 acntpc -- Accent PC
74 apollo -- Apollo
75 audptr -- Audapter
76 bns -- Braille 'n Speak
77 dectlk -- DecTalk Express (old and new, db9 serial only)
78 decext -- DecTalk (old) External
79 dtlk -- DoubleTalk PC
[all …]
/linux/Documentation/devicetree/bindings/sound/
H A Dti,ts3a227e.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Dylan Reid <dgreid@chromium.org>
14 The TS3A227E detect headsets of 3-ring and 4-ring standards and
16 handles key press detection in accordance with the Android audio
22 - ti,ts3a227e
34 - 0 # 2.1 V
35 - 1 # 2.2 V
36 - 2 # 2.3 V
[all …]
/linux/drivers/input/misc/
H A Datc260x-onkey.c1 // SPDX-License-Identifier: GPL-2.0+
17 /* <2s for short press, >2s for long press */
80 reg_bm = onkey->params->long_int_pnd_bm | in atc2603x_onkey_hw_init()
81 onkey->params->short_int_pnd_bm | in atc2603x_onkey_hw_init()
82 onkey->params->kdwn_int_pnd_bm | in atc2603x_onkey_hw_init()
83 onkey->params->press_int_en_bm | in atc2603x_onkey_hw_init()
84 onkey->params->kdwn_int_en_bm; in atc2603x_onkey_hw_init()
87 reg_bm |= onkey->params->press_time_bm; in atc2603x_onkey_hw_init()
90 reg_bm |= onkey->params->reset_en_bm; in atc2603x_onkey_hw_init()
92 reg_bm |= onkey->params->reset_en_bm | in atc2603x_onkey_hw_init()
[all …]
H A Drt5120-pwrkey.c1 // SPDX-License-Identifier: GPL-2.0-only
30 error = regmap_read(priv->regmap, RT5120_REG_INTSTAT, &stat); in rt5120_pwrkey_handler()
34 input_report_key(priv->input, KEY_POWER, in rt5120_pwrkey_handler()
36 input_sync(priv->input); in rt5120_pwrkey_handler()
44 struct device *dev = &pdev->dev; in rt5120_pwrkey_probe()
50 return -ENOMEM; in rt5120_pwrkey_probe()
52 priv->regmap = dev_get_regmap(dev->parent, NULL); in rt5120_pwrkey_probe()
53 if (!priv->regmap) { in rt5120_pwrkey_probe()
55 return -ENODEV; in rt5120_pwrkey_probe()
58 press_irq = platform_get_irq_byname(pdev, "pwrkey-press"); in rt5120_pwrkey_probe()
[all …]
H A Dpalmas-pwrbutton.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2012-2014 Texas Instruments Incorporated - http://www.ti.com/
26 * struct palmas_pwron - Palmas power on data
29 * @input_work: work for detecting release of key
40 * struct palmas_pwron_config - configuration of palmas power on
41 * @long_press_time_val: value for long press h/w shutdown event
50 * palmas_power_button_work() - Detects the button release event
58 struct input_dev *input_dev = pwron->input_dev; in palmas_power_button_work()
62 error = palmas_read(pwron->palmas, PALMAS_INTERRUPT_BASE, in palmas_power_button_work()
65 dev_err(input_dev->dev.parent, in palmas_power_button_work()
[all …]
/linux/drivers/hid/
H A Dhid-icade.c1 // SPDX-License-Identifier: GPL-2.0-or-later
16 #include "hid-ids.h"
48 * < copy of hid_keyboard[] from hid-input.c >
53 * int press;
86 * usage_for_key (int key)
90 * if (hid_keyboard[i] == key)
101 * for (trans = icade_keys; trans->from; trans++) {
102 * int usage = usage_for_key (trans->from);
109 * printf ("\tu8 press:1;\n");
113 * for (trans = icade_keys; trans->from; trans++) {
[all …]
/linux/Documentation/admin-guide/laptops/
H A Dthinkpad-acpi.rst9 - Borislav Deianov <borislav@users.sf.net>
10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
33 ------
38 - Fn key combinations
[all …]
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include "saa7134-reg.h"
36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \
43 /* -------------------- GPIO generic keycode builder -------------------- */
47 struct saa7134_card_ir *ir = dev->remote; in build_key()
51 switch (dev->board) { in build_key()
62 if (ir->polling) { in build_key()
63 if (ir->last_gpio == gpio) in build_key()
65 ir->last_gpio = gpio; in build_key()
68 data = ir_extract_bits(gpio, ir->mask_keycode); in build_key()
[all …]
/linux/scripts/kconfig/lxdialog/
H A Dchecklist.c1 // SPDX-License-Identifier: GPL-2.0+
3 * checklist.c -- implements the checklist box
6 * Stuart Herbert - S.Herbert@sheffield.ac.uk: radiolist extension
7 * Alessandro Rubini - rubini@ipvvis.unipv.it: merged the two
23 strncpy(list_item, item_str(), list_width - item_x); in print_item()
24 list_item[list_width - item_x] = '\0'; in print_item()
60 waddstr(win, "(-)"); in print_arrows()
72 if ((height < item_no) && (scroll + choice < item_no - 1)) { in print_arrows()
90 int x = width / 2 - 11; in print_buttons()
91 int y = height - 2; in print_buttons()
[all …]
/linux/tools/perf/ui/tui/
H A Dutil.c1 // SPDX-License-Identifier: GPL-2.0
23 ui_browser__write_nstring(browser, *arg, browser->width); in ui_browser__argv_write()
28 int key; in popup_menu__run() local
30 if (ui_browser__show(menu, " ", "ESC: exit, ENTER|->: Select option") < 0) in popup_menu__run()
31 return -1; in popup_menu__run()
34 key = ui_browser__run(menu, 0); in popup_menu__run()
36 switch (key) { in popup_menu__run()
39 key = menu->index; in popup_menu__run()
45 key = -1; in popup_menu__run()
49 *keyp = key; in popup_menu__run()
[all …]
/linux/drivers/input/
H A Dsparse-keymap.c1 // SPDX-License-Identifier: GPL-2.0-only
14 #include <linux/input/sparse-keymap.h>
25 struct key_entry *key; in sparse_keymap_get_key_index() local
28 for (key = dev->keycode; key->type != KE_END; key++) { in sparse_keymap_get_key_index()
29 if (key->type == KE_KEY) { in sparse_keymap_get_key_index()
30 if (key == k) in sparse_keymap_get_key_index()
42 struct key_entry *key; in sparse_keymap_entry_by_index() local
45 for (key = dev->keycode; key->type != KE_END; key++) in sparse_keymap_entry_by_index()
46 if (key->type == KE_KEY) in sparse_keymap_entry_by_index()
48 return key; in sparse_keymap_entry_by_index()
[all …]
/linux/arch/mips/boot/dts/ingenic/
H A Drs90.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/iio/adc/ingenic,adc.h>
8 #include <dt-bindings/input/linux-event-codes.h>
12 model = "RS-90";
19 reserved-memory {
20 #address-cells = <1>;
21 #size-cells = <1>;
24 vmem: video-memory@1f00000 {
[all …]
/linux/Documentation/input/
H A Duinput.rst12 that will be delivered to userspace and in-kernel consumers.
28 create uinput devices and send events. libevdev is less error-prone than
38 ---------------
41 send a key event. All default imports and error handlers were removed for
44 .. code-block:: c
71 * created, to pass key events, in this case the space key.
94 /* Key press, report the event, send key release, and report again */
113 ---------------
118 .. code-block:: c
158 while (i--) {
[all …]
/linux/drivers/input/keyboard/
H A Dmax7359_keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * max7359_keypad.c - MAX7359 Key Switch Controller Driver
10 * Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/5456
57 /* matrix key code map */
69 dev_err(&client->dev, "%s: reg 0x%x, val 0x%x, err %d\n", in max7359_write_reg()
79 dev_err(&client->dev, "%s: reg 0x%x, err %d\n", in max7359_read_reg()
84 /* runs in an IRQ thread -- can (and will!) sleep */
88 struct input_dev *input_dev = keypad->input_dev; in max7359_interrupt()
91 val = max7359_read_reg(keypad->client, MAX7359_REG_KEYFIFO); in max7359_interrupt()
98 dev_dbg(&keypad->client->dev, in max7359_interrupt()
[all …]
/linux/drivers/platform/x86/
H A Dmsi-wmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Most stuff taken over from hp-wmi
14 #include <linux/input/sparse-keymap.h>
25 #define DRV_NAME "msi-wmi"
27 #define MSIWMI_BIOS_GUID "551A1F84-FBDD-4125-91DB-3EA8F44F1D45"
28 #define MSIWMI_MSI_EVENT_GUID "B6F3EEF2-3D2F-49DC-9DE3-85BCE18C62F2"
29 #define MSIWMI_WIND_EVENT_GUID "5B3CC38A-40D9-7245-8AE6-1145B751BE3F"
46 WIND_KEY_WLAN = 0x5f, /* Fn+F11 Wi-Fi toggle */
100 return -EIO; in msi_wmi_query_block()
104 if (!obj || obj->type != ACPI_TYPE_INTEGER) { in msi_wmi_query_block()
[all …]
/linux/arch/riscv/boot/dts/canaan/
H A Dsipeed_maix_go.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
7 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/leds/common.h>
17 compatible = "sipeed,maix-go", "canaan,kendryte-k210";
25 stdout-path = "serial0:115200n8";
28 gpio-leds {
29 compatible = "gpio-leds";
[all …]
/linux/Documentation/ABI/obsolete/
H A Dsysfs-driver-hid-roccat-savu1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
5 press of a button. A profile is split into general settings and
17 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
25 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
29 press of a button. A profile is split into general settings and
40 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
48 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
56 which profile and key to read.
59 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
63 press of a button. profile holds number of actual profile.
[all …]

123456