/Linux-v6.6/Documentation/devicetree/bindings/input/ |
D | gpio-mouse.txt | 1 Device-Tree bindings for GPIO attached mice 4 to 5-7 GPIO lines. 7 - compatible: must be "gpio-mouse" 8 - scan-interval-ms: The scanning interval in milliseconds 9 - up-gpios: GPIO line phandle to the line indicating "up" 10 - down-gpios: GPIO line phandle to the line indicating "down" 11 - left-gpios: GPIO line phandle to the line indicating "left" 12 - right-gpios: GPIO line phandle to the line indicating "right" 15 - button-left-gpios: GPIO line handle to the left mouse button 16 - button-middle-gpios: GPIO line handle to the middle mouse button [all …]
|
D | gpio-keys.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 15 - gpio-keys 16 - gpio-keys-polled 23 poll-interval: true 26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc… 42 linux,input-type: [all …]
|
D | adc-keys.yaml | 1 # 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 …]
|
/Linux-v6.6/Documentation/input/ |
D | gamepad.rst | 1 --------------------------- 3 --------------------------- 11 having user-space deal with different button-mappings for each gamepad, this 25 | <===DP===> |SE| |ST| (W) -|- (E) | | 35 D-Pad Left Right Action Pad 43 - Action-Pad 44 4 buttons in diamonds-shape (on the right side). The buttons are 47 - D-Pad (Direction-pad) 48 4 buttons (on the left side) that point up, down, left and right. 49 - Menu-Pad [all …]
|
/Linux-v6.6/Documentation/input/devices/ |
D | joystick-parport.rst | 3 .. _joystick-parport: 9 :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 10 :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> 18 Any information in this file is provided as-is, without any guarantee that 36 Many console and 8-bit computer gamepads and joysticks are supported. The 40 ------------ 59 for your pads, use either keyboard or joystick port, and make a pass-through 69 (pin 9) -----> Power 77 (pin 9) ----|>|-------+------> Power 79 (pin 8) ----|>|-------+ [all …]
|
D | sentelic.rst | 8 :Copyright: |copy| 2002-2011 Sentelic Corporation. 10 :Last update: Dec-07-2011 15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward 16 page (5th button) 28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------| 30 |---------------| |---------------| |---------------| |---------------| 37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed. 38 Bit1 => Right Button, 1 is pressed, 0 is not pressed. 39 Bit0 => Left Button, 1 is pressed, 0 is not pressed. 40 Byte 2: X Movement(9-bit 2's complement integers) [all …]
|
D | atarikbd.rst | 12 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 41 0xF8-0xFB relative mouse position records (lsbs determined by 42 mouse button states) 43 0xFC time-of-day 67 --------------------------- 71 button being pressed or released, or motion in either axis exceeding a 84 ; where y is the right button state 85 ; and x is the left button state [all …]
|
/Linux-v6.6/drivers/input/mouse/ |
D | gpio_mouse.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 * @down: GPIO line for down value. 23 * @bleft: GPIO line for left button. 24 * @bmiddle: GPIO line for middle button. 25 * @bright: GPIO line for right button. 34 struct gpio_desc *down; member 51 if (gpio->bleft) in gpio_mouse_scan() 53 gpiod_get_value(gpio->bleft)); in gpio_mouse_scan() 54 if (gpio->bmiddle) in gpio_mouse_scan() 56 gpiod_get_value(gpio->bmiddle)); in gpio_mouse_scan() [all …]
|
/Linux-v6.6/arch/arm/boot/dts/allwinner/ |
D | sun4i-a10-inet9f-rev03.dts | 4 * This file is dual-licensed: you can use it either under the terms 43 /dts-v1/; 44 #include "sun4i-a10.dtsi" 45 #include "sunxi-common-regulators.dtsi" 46 #include <dt-bindings/gpio/gpio.h> 47 #include <dt-bindings/input/input.h> 48 #include <dt-bindings/interrupt-controller/irq.h> 51 model = "iNet-9F Rev 03"; 52 compatible = "inet-tek,inet9f-rev03", "allwinner,sun4i-a10"; 59 stdout-path = "serial0:115200n8"; [all …]
|
D | sun5i-gr8-evb.dts | 5 * Mylène Josserand <mylene.josserand@free-electrons.com> 7 * This file is dual-licensed: you can use it either under the terms 46 /dts-v1/; 47 #include "sun5i-gr8.dtsi" 48 #include "sunxi-common-regulators.dtsi" 50 #include <dt-bindings/gpio/gpio.h> 51 #include <dt-bindings/input/input.h> 52 #include <dt-bindings/interrupt-controller/irq.h> 55 model = "NextThing GR8-EVB"; 56 compatible = "nextthing,gr8-evb", "nextthing,gr8"; [all …]
|
/Linux-v6.6/drivers/macintosh/ |
D | adbhid.c | 1 // SPDX-License-Identifier: GPL-2.0 19 * - Standard 1 button mouse 20 * - All standard Apple Extended protocol (handler ID 4) 21 * - mouseman and trackman mice & trackballs 22 * - PowerBook Trackpad (default setup: enable tapping) 23 * - MicroSpeed mouse & trackball (needs testing) 24 * - CH Products Trackball Pro (needs testing) 25 * - Contour Design (Contour Mouse) 26 * - Hunter digital (NoHandsMouse) 27 * - Kensignton TurboMouse 5 (needs testing) [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/amlogic/ |
D | meson-gxbb-p200.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/input/input.h> 14 compatible = "amlogic,p200", "amlogic,meson-gxbb"; 17 avdd18_usb_adc: regulator-avdd18_usb_adc { 18 compatible = "regulator-fixed"; 19 regulator-name = "AVDD18_USB_ADC"; 20 regulator-min-microvolt = <1800000>; 21 regulator-max-microvolt = <1800000>; [all …]
|
D | meson-g12b-odroid-go-ultra.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "meson-g12b-s922x.dtsi" 9 #include <dt-bindings/input/input.h> 10 #include <dt-bindings/leds/common.h> 11 #include <dt-bindings/gpio/meson-g12a-gpio.h> 12 #include <dt-bindings/sound/meson-g12a-toacodec.h> 13 #include <dt-bindings/sound/meson-g12a-tohdmitx.h> 16 compatible = "hardkernel,odroid-go-ultra", "amlogic,s922x", "amlogic,g12b"; 17 model = "Hardkernel ODROID-GO-Ultra"; [all …]
|
/Linux-v6.6/drivers/hid/ |
D | hid-roccat-kone.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 21 kone_keystroke_button_1 = 0xf0, /* left mouse button */ 22 kone_keystroke_button_2 = 0xf1, /* right mouse button */ 24 kone_keystroke_button_9 = 0xf3, /* side button up */ 25 kone_keystroke_button_8 = 0xf4 /* side button down */ 34 uint8_t number; /* range 1-8 */ 44 /* valid button types until firmware 1.32 */ 45 kone_button_info_type_button_1 = 0x1, /* click (left mouse button) */ 46 kone_button_info_type_button_2 = 0x2, /* menu (right mouse button)*/ 64 /* additional valid button types since firmware 1.38 */ [all …]
|
/Linux-v6.6/arch/arm64/boot/dts/rockchip/ |
D | rk3308-evb.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 7 /dts-v1/; 8 #include <dt-bindings/input/input.h> 13 compatible = "rockchip,rk3308-evb", "rockchip,rk3308"; 16 stdout-path = "serial4:1500000n8"; 19 adc-keys0 { 20 compatible = "adc-keys"; 21 io-channels = <&saradc 0>; 22 io-channel-names = "buttons"; 23 poll-interval = <100>; [all …]
|
D | rk3399-sapphire-excavator.dts | 1 // 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 …]
|
D | rk3566-anbernic-rgxx3.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/linux-event-codes.h> 7 #include <dt-bindings/leds/common.h> 8 #include <dt-bindings/pinctrl/rockchip.h> 9 #include <dt-bindings/soc/rockchip,vop2.h> 14 stdout-path = "serial2:1500000n8"; 17 adc-joystick { 18 compatible = "adc-joystick"; [all …]
|
/Linux-v6.6/samples/uhid/ |
D | uhid-example.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2012-2013 David Herrmann <dh.herrmann@gmail.com> 17 * 1: Toggle left button (down, up, ...) 18 * 2: Toggle right button 19 * 3: Toggle middle button 23 * s: Move mouse down 25 * f: Move wheel down 27 * Additionally to 3 button mouse, 3 keyboard LEDs are also supported (LED_NUML, 35 * gcc -o ./uhid_test -Wall -I./include ./samples/uhid/uhid-example.c 53 * We emulate a basic 3 button mouse with wheel and 3 keyboard LEDs. This is [all …]
|
/Linux-v6.6/drivers/parisc/ |
D | power.c | 5 * Copyright (c) 2001-2007 Helge Deller <deller@gmx.de> 33 * Support of the soft power switch button may be enabled or disabled at 53 /* how often should the power button be polled ? */ 56 /* how long does the power button needs to be down until we react ? */ 89 /* wait until the button was pressed for 1 second */ in process_shutdown() 91 static const char msg[] = "Shutting down..."; in process_shutdown() 113 /* main kernel thread worker. It polls the button state */ 129 * Non-Gecko-style machines: in kpowerswd() 133 * This bit is "1" if the button is NOT pressed. in kpowerswd() 142 * the button has been released again. in kpowerswd() [all …]
|
/Linux-v6.6/drivers/platform/surface/ |
D | surfacepro3_button.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * power/home/volume button support for 16 #include <acpi/button.h> 44 MODULE_DESCRIPTION("Surface Pro3 Button Driver"); 48 * Power button, Home button, Volume buttons support is supposed to 76 struct surface_button *button = acpi_driver_data(device); in surface_button_notify() local 82 /* Power button press,release handle */ in surface_button_notify() 89 /* Home button press,release handle */ in surface_button_notify() 96 /* Volume up button press,release handle */ in surface_button_notify() 103 /* Volume down button press,release handle */ in surface_button_notify() [all …]
|
/Linux-v6.6/scripts/kconfig/lxdialog/ |
D | menubox.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * menubox.c -- implements the menu box 12 * [ 1998-06-13 ] 14 * *) A bugfix for the Page-Down problem 16 * *) Formerly when I used Page Down and Page Up, the cursor would be set 22 * lxdialog is re-invoked by the Menuconfig shell script, can't 27 * one, but it would be nice if Menuconfig could make another "rm -f" 28 * just to be sure. Just try it out - you will recognise a difference! 30 * [ 1998-06-14 ] 32 * *) Now lxdialog is crash-safe against broken "lxdialog.scrltmp" files [all …]
|
/Linux-v6.6/arch/arm/boot/dts/nxp/imx/ |
D | imx6qdl-nitrogen6_max.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 OR X11 5 #include <dt-bindings/gpio/gpio.h> 6 #include <dt-bindings/input/input.h> 10 stdout-path = &uart2; 19 compatible = "regulator-fixed"; 20 regulator-name = "1P8V"; 21 regulator-min-microvolt = <1800000>; 22 regulator-max-microvolt = <1800000>; 23 regulator-always-on; 26 reg_2p5v: regulator-2p5v { [all …]
|
/Linux-v6.6/arch/arm/boot/dts/microchip/ |
D | at91sam9m10g45ek.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * at91sam9m10g45ek.dts - Device Tree file for AT91SAM9M10G45-EK board 8 /dts-v1/; 10 #include <dt-bindings/pwm/pwm.h> 13 model = "Atmel AT91SAM9M10G45-EK"; 18 stdout-path = "serial0:115200n8"; 27 clock-frequency = <32768>; 31 clock-frequency = <12000000>; 43 compatible = "atmel,tcb-timer"; 48 compatible = "atmel,tcb-timer"; [all …]
|
/Linux-v6.6/drivers/media/rc/keymaps/ |
D | rc-su3000.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* rc-su3000.h - Keytable for Geniatech HDStar Remote Controller 7 #include <media/rc-map.h> 11 { 0x25, KEY_POWER }, /* right-bottom Red */ 12 { 0x0a, KEY_MUTE }, /* -/-- */ 26 { 0x13, KEY_VOLUMEDOWN },/* Brightness Down */ 34 { 0x11, KEY_LEFT }, /* VOL- */ 36 { 0x29, KEY_BACK }, /* button under 9 */ 41 { 0x2d, KEY_YELLOW }, /* button under << */ 42 { 0x0f, KEY_BLUE }, /* bottom yellow button */ [all …]
|
/Linux-v6.6/drivers/char/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 28 int "ttyprintk log level (1-7)" 42 Also read the Printing-HOWTO, available from 50 <file:Documentation/admin-guide/parport.rst>. The module will be called lp. 79 tristate "Support for user-space parallel port device drivers" 84 port, for instance deviceid (which displays Plug-and-Play device 88 It is safe to say N to this -- it is not needed for normal printing 89 or parallel port CD-ROM/disk support. 104 Also serves as a general-purpose serial device for data 133 If unsure, say M here to build it as a module called powernv-op-panel. [all …]
|