Home
last modified time | relevance | path

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

12345

/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 Dti,twl4030-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/ti,twl4030-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Texas Instruments TWL4030-family Keypad Controller
10 - Peter Ujfalusi <peter.ujfalusi@gmail.com>
13 TWL4030's Keypad controller is used to interface a SoC with a matrix-type
15 A key can be placed at each intersection of a unique row and a unique column.
16 The keypad controller can sense a key-press and key-release and report the
20 - $ref: matrix-keymap.yaml#
[all …]
H A Dsamsung,s3c6410-keypad.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/input/samsung,s3c6410-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 Samsung SoC Keypad controller is used to interface a SoC with a matrix-type
12 A key can be placed at each intersection of a unique row and a unique column.
13 The keypad controller can sense a key-press and key-release and report the
17 - Krzysztof Kozlowski <krzk@kernel.org>
22 - samsung,s3c6410-keypad
23 - samsung,s5pv210-keypad
[all …]
/linux/scripts/kconfig/
H A Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
18 #include "mnconf-common.h"
24 "------------\n"
31 " of <?> <h>, or if in a data entry window then press <F1>.\n"
35 "------------\n"
37 "build. Kernel features can either be built-in, modularized, or removed.\n"
44 " - - are selected by another feature\n"
50 "listed below and press <y> to build it in, <m> to make it a module or\n"
51 "<n> to remove it. You may press the <Space> key to cycle through the\n"
54 "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>
27 #include "mnconf-common.h"
31 "--------\n"
33 "Features can either be built-in, modularized, or ignored. Parameters\n"
40 " - - are selected by other feature,\n"
45 "keys and press <Y> to build it in, <M> to make it a module or\n"
46 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
[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/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/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 …]
H A Dnotifier.rst9 - 'vc' always provide the VC for which the keyboard event applies;
10 - 'down' is 1 for a key press event, 0 for a key release;
11 - 'shift' is the current modifier state, mask bit indexes are KG_*;
12 - 'ledstate' is the current LED state;
13 - 'value' depends on the type of event.
15 - KBD_KEYCODE events are always sent before other events, value is the keycode.
16 - KBD_UNBOUND_KEYCODE events are sent if the keycode is not bound to a keysym.
18 - KBD_UNICODE events are sent if the keycode -> keysym translation produced a
20 - KBD_KEYSYM events are sent if the keycode -> keysym translation produced a
21 non-unicode character. value is the keysym.
[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 …]
H A Dpmic8xxx-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
2 /* Copyright (c) 2009-2011, Code Aurora Forum. All rights reserved.
69 * '0' for key press
70 * '1' for key release
78 * struct pmic8xxx_kp - internal keypad data structure
83 * @key_sense_irq: key press/release irq number
84 * @key_stuck_irq: key stuck notification irq number
85 * @keycodes: array to hold the key codes
87 * @keystate: present key press/release state
88 * @stuckstate: present state when key stuck irq
[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/drivers/platform/cznic/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
4 # see Documentation/kbuild/kconfig-language.rst.
26 called turris-omnia-mcu.
40 - get front button press events (the front button can be configured
41 either to generate press events to the CPU or to change front LEDs
43 - enable / disable USB port voltage regulators and to detect USB
45 - detect MiniPCIe / mSATA card presence in MiniPCIe port 0,
46 - configure resets of various peripherals on board revisions 32+,
47 - enable / disable the VHV voltage regulator to the SOC in order to be
49 - get input from the LED output pins of the WAN ethernet PHY, LAN
[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 …]
/linux/Documentation/input/devices/
H A Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
27 The keyboard always returns key make/break scan codes. The ikbd generates
28 keyboard scan codes for each key press and release. The key scan make (key
30 ISO key position in the scan code table should exist even if no keyswitch
31 exists in that position on a particular keyboard. The break code for each key
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
49 The two shift keys return different scan codes in this mode. The ENTER key
[all …]
/linux/tools/perf/ui/browsers/
H A Dheader.c1 // SPDX-License-Identifier: GPL-2.0
19 unsigned long offset = (unsigned long)browser->priv; in ui_browser__argv_write()
29 ui_browser__write_nstring(browser, str, browser->width); in ui_browser__argv_write()
34 int key; in list_menu__run() local
43 if (ui_browser__show(menu, "Header information", "Press 'q' to exit") < 0) in list_menu__run()
44 return -1; in list_menu__run()
47 key = ui_browser__run(menu, 0); in list_menu__run()
49 switch (key) { in list_menu__run()
51 offset = (unsigned long)menu->priv; in list_menu__run()
53 menu->priv = (void *)offset; in list_menu__run()
[all …]

12345