Home
last modified time | relevance | path

Searched +full:button +full:- +full:191 (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_gamepad.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
31 def assert_button(self, button): argument
37 key = libevdev.evbit(uhdev.buttons_map[button])
39 buttons[button] = True
47 buttons[button] = False
56 """check for button reliability."""
63 """check for button reliability when pressing 2 buttons"""
142 self._test_joystick_press("left_stick", (191, 127))
152 self._test_joystick_press("left_stick", (127, 191))
[all …]
H A Dtest_mouse.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
18 # workaround https://gitlab.freedesktop.org/libevdev/python-libevdev/issues/6
48 :param buttons: a (l, r, m) tuple of bools for the button states,
94 :param buttons: a (l, r, m) tuple of bools for the button states,
114 0x05, 0x09, # ....Usage Page (Button) 14
128 0x15, 0x81, # ....Logical Minimum (-127) 42
157 x = max(-127, min(127, x))
158 y = max(-127, min(127, y))
170 0x05, 0x09, # .Usage Page (Button) 6
[all …]
/openbmc/linux/Documentation/devicetree/bindings/input/
H A Dallwinner,sun4i-a10-lradc-keys.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/input/allwinner,sun4i-a10-lradc-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen-Yu Tsai <wens@csie.org>
11 - Maxime Ripard <mripard@kernel.org>
16 - const: allwinner,sun4i-a10-lradc-keys
17 - const: allwinner,sun8i-a83t-r-lradc
18 - items:
19 - enum:
[all …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsun5i-a13-olinuxino.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a13.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A13-Olinuxino";
54 compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
61 stdout-path = "serial0:115200n8";
[all …]
H A Dsun5i-a10s-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a10s.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A10s-Olinuxino Micro";
54 compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";
63 stdout-path = "serial0:115200n8";
[all …]
H A Dsun7i-a20-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
54 model = "Olimex A20-Olinuxino Micro";
55 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dsun5i-a13-olinuxino.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a13.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A13-Olinuxino";
54 compatible = "olimex,a13-olinuxino", "allwinner,sun5i-a13";
61 stdout-path = "serial0:115200n8";
[all …]
H A Dsun5i-a10s-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun5i-a10s.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
53 model = "Olimex A10s-Olinuxino Micro";
54 compatible = "olimex,a10s-olinuxino-micro", "allwinner,sun5i-a10s";
63 stdout-path = "serial0:115200n8";
[all …]
H A Dsun7i-a20-olinuxino-micro.dts4 * Maxime Ripard <maxime.ripard@free-electrons.com>
6 * This file is dual-licensed: you can use it either under the terms
45 /dts-v1/;
46 #include "sun7i-a20.dtsi"
47 #include "sunxi-common-regulators.dtsi"
49 #include <dt-bindings/gpio/gpio.h>
50 #include <dt-bindings/input/input.h>
51 #include <dt-bindings/interrupt-controller/irq.h>
54 model = "Olimex A20-Olinuxino Micro";
55 compatible = "olimex,a20-olinuxino-micro", "allwinner,sun7i-a20";
[all …]
H A Drk3288-evb.dtsi1 // SPDX-License-Identifier: GPL-2.0+ OR X11
13 ext_gmac: external-gmac-clock {
14 compatible = "fixed-clock";
15 #clock-cells = <0>;
16 clock-frequency = <125000000>;
17 clock-output-names = "ext_gmac";
20 keys: gpio-keys {
21 compatible = "gpio-keys";
23 button@0 {
24 gpio-key,wakeup = <1>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-sapphire-excavator.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include "rk3399-sapphire.dtsi"
10 model = "Excavator-RK3399 Board";
11 compatible = "rockchip,rk3399-sapphire-excavator", "rockchip,rk3399";
17 adc-keys {
18 compatible = "adc-keys";
19 io-channels = <&saradc 1>;
20 io-channel-names = "buttons";
21 keyup-threshold-microvolt = <1800000>;
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drk3288-evb.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 #include <dt-bindings/input/input.h>
4 #include <dt-bindings/pwm/pwm.h>
13 adc-keys {
14 compatible = "adc-keys";
15 io-channels = <&saradc 1>;
16 io-channel-names = "buttons";
17 keyup-threshold-microvolt = <1800000>;
19 button-up {
22 press-threshold-microvolt = <100000>;
[all …]
/openbmc/u-boot/include/configs/
H A Detamin.h1 /* SPDX-License-Identifier: GPL-2.0+ */
7 * U-Boot file:/include/configs/am335x_evm.h
9 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/
15 #include "siemens-am33x-common.h"
51 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, \
73 /* FWD Button = 27
74 * SRV Button = 87 */
134 "u-boot mtddev;" \
135 "u-boot.env0 mtddev;" \
136 "u-boot.env1 mtddev;" \
[all …]
/openbmc/linux/sound/usb/caiaq/
H A Dcontrol.c1 // SPDX-License-Identifier: GPL-2.0-or-later
24 struct snd_usb_caiaqdev *cdev = caiaqdev(chip->card); in control_info()
25 int pos = kcontrol->private_value; in control_info()
29 uinfo->count = 1; in control_info()
32 switch (cdev->chip.usb_id) { in control_info()
37 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
38 uinfo->value.integer.min = 0; in control_info()
39 uinfo->value.integer.max = 2; in control_info()
54 uinfo->type = SNDRV_CTL_ELEM_TYPE_INTEGER; in control_info()
55 uinfo->value.integer.min = 0; in control_info()
[all …]
/openbmc/linux/arch/arm/boot/dts/st/
H A Dste-snowball.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Copyright 2011 ST-Ericsson AB
6 /dts-v1/;
7 #include "ste-db9500.dtsi"
8 #include "ste-href-ab8500.dtsi"
9 #include "ste-href-family-pinctrl.dtsi"
13 compatible = "calaosystems,snowball-a9500", "st-ericsson,u9500";
21 compatible = "simple-battery";
22 battery-type = "lithium-ion-polymer";
25 thermal-zones {
[all …]
/openbmc/u-boot/include/dt-bindings/input/
H A Dlinux-event-codes.h5 * This file is not only included from C-code but also from devicetree source
8 * Copyright (c) 1999-2002 Vojtech Pavlik
24 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
69 * AC - Application Control
70 * AL - Application Launch Button
71 * SC - System Control
271 #define KEY_F21 191
305 outputs (Monitor/LCD/TV-out/etc) */
507 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
509 #define KEY_CONTEXT_MENU 0x1b6 /* GenDesc - system context menu */
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx53-ppd.dts4 * This file is dual-licensed: you can use it either under the terms
42 /dts-v1/;
45 #include <dt-bindings/input/input.h>
49 compatible = "ge,imx53-cpuvo", "fsl,imx53";
58 stdout-path = "serial0:115200n8";
67 cko2_11M: sgtl-clock-cko2 {
68 compatible = "fixed-clock";
69 #clock-cells = <0>;
70 clock-frequency = <11289600>;
73 achc_24M: achc-clock {
[all …]
H A Dimx6dl-qmx6.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 // Copyright 2018-2021 General Electric Company
7 // Copyright 2018-2021 Collabora
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/sound/fsl-imx-audmux.h>
20 compatible = "regulator-fixed";
21 regulator-name = "3P3V";
22 regulator-min-microvolt = <3300000>;
23 regulator-max-microvolt = <3300000>;
27 compatible = "i2c-mux-gpio";
[all …]
/openbmc/linux/arch/arm/boot/dts/aspeed/
H A Daspeed-bmc-facebook-harma.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
4 /dts-v1/;
5 #include "aspeed-g6.dtsi"
6 #include <dt-bindings/gpio/aspeed-gpio.h>
7 #include <dt-bindings/i2c/i2c.h>
11 compatible = "facebook,harma-bmc", "aspeed,ast2600";
32 stdout-path = &uart5;
40 iio-hwmon {
41 compatible = "iio-hwmon";
42 io-channels = <&adc0 0>, <&adc0 1>, <&adc0 2>, <&adc0 3>,
[all …]
/openbmc/bmcweb/redfish-core/include/registries/
H A Dopenbmc_message_registry.hpp1 // SPDX-License-Identifier: Apache-2.0
2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors
6 * This is an auto-generated header which contains definitions
18 // clang-format off
35 …"https://raw.githubusercontent.com/openbmc/bmcweb/refs/heads/master/redfish-core/include/registrie…
57 "Indicates At-Scale Debug connection has been established",
58 "At-Scale Debug service is now connected %1",
69 "Indicates At-Scale Debug connection aborted/failed",
70 "At-Scale Debug connection aborted/failed",
79 "Indicates At-Scale Debug connection has ended",
[all …]
/openbmc/qemu/include/standard-headers/linux/
H A Dinput-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
25 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
272 #define KEY_F21 191
307 outputs (Monitor/LCD/TV-out/etc) */
512 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
/openbmc/linux/include/dt-bindings/input/
H A Dlinux-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
25 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
70 * AC - Applicatio
[all...]
/openbmc/linux/include/uapi/linux/
H A Dinput-event-codes.h1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
6 * This file is not only included from C-code but also from devicetree source
9 * Copyright (c) 1999-2002 Vojtech Pavlik
25 #define INPUT_PROP_BUTTONPAD 0x02 /* has button(s) under pad */
70 * AC - Application Control
71 * AL - Application Launch Button
72 * SC - System Control
272 #define KEY_F21 191
307 outputs (Monitor/LCD/TV-out/etc) */
512 #define KEY_FRAMEBACK 0x1b4 /* Consumer - transport controls */
[all …]
/openbmc/linux/Documentation/admin-guide/
H A Ddevices.txt1 0 Unnamed devices (e.g. non-device mounts)
7 2 = /dev/kmem OBSOLETE - replaced by /proc/kcore
11 6 = /dev/core OBSOLETE - replaced by /proc/kcore
18 12 = /dev/oldmem OBSOLETE - replaced by /proc/vmcore
31 2 char Pseudo-TTY masters
37 Pseudo-tty's are named as follows:
40 the 1st through 16th series of 16 pseudo-ttys each, and
44 These are the old-style (BSD) PTY devices; Unix98
106 3 char Pseudo-TTY slaves
112 These are the old-style (BSD) PTY devices; Unix98
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-lg.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Copyright (c) 2000-2005 Vojtech Pavlik <vojtech@suse.cz>
7 * Copyright (c) 2005 Michael Haboustak <mike-@cinci.rr.com> for Concept2, Inc
8 * Copyright (c) 2006-2007 Jiri Kosina
25 #include "hid-ids.h"
26 #include "hid-lg.h"
27 #include "hid-lg4ff.h"
144 0x05, 0x09, /* Usage Page (Button), */
192 0x05, 0x09, /* Usage Page (Button), */
259 0x05, 0x09, /* Usage Page (Button), */
[all …]

12