Home
last modified time | relevance | path

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

12

/kernel/linux/linux-6.6/tools/testing/selftests/hid/tests/
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 …]
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 …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/
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 - const: allwinner,sun50i-a64-lradc
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/
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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
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 …]
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 …]
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 …]
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 …]
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 = "regulator-fixed";
22 regulator-name = "en-3v3-fixed-supply";
23 regulator-min-microvolt = <3300000>;
[all …]
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/allwinner/
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 …]
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 …]
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 …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
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 …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
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";
13 adc-keys {
14 compatible = "adc-keys";
15 io-channels = <&saradc 1>;
16 io-channel-names = "buttons";
17 keyup-threshold-microvolt = <1800000>;
[all …]
/kernel/linux/linux-5.10/sound/usb/caiaq/
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 …]
/kernel/linux/linux-6.6/sound/usb/caiaq/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/st/
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 …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/
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 …]
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 …]
/kernel/linux/linux-6.6/include/dt-bindings/input/
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 - 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 …]
/kernel/linux/linux-6.6/include/uapi/linux/
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 …]
/kernel/linux/linux-5.10/include/uapi/linux/
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 …]
/kernel/linux/linux-5.10/include/dt-bindings/input/
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 - 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 …]

12