Home
last modified time | relevance | path

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

12345678910>>...18

/Linux-v6.6/Documentation/input/devices/
Dsentelic.rst8 :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 …]
Djoystick-parport.rst3 .. _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 ------------
49 the computer's side (and thus timing insensitive). To allow up to 5 NES
59 for your pads, use either keyboard or joystick port, and make a pass-through
69 (pin 9) -----> Power
77 (pin 9) ----|>|-------+------> Power
[all …]
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
41 0xF8-0xFB relative mouse position records (lsbs determined by
42 mouse button states)
43 0xFC time-of-day
58 velocities up to 10 inches per second.
67 ---------------------------
71 button being pressed or released, or motion in either axis exceeding a
84 ; where y is the right button state
[all …]
/Linux-v6.6/Documentation/devicetree/bindings/input/
Dgpio-mouse.txt1 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 …]
Dgpio-keys.yaml1 # 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 …]
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 …]
/Linux-v6.6/Documentation/input/
Dgamepad.rst1 ---------------------------
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 …]
Dinput-programming.rst9 just one button and the button is accessible at i/o port BUTTON_PORT. When
32 if (request_irq(BUTTON_IRQ, button_interrupt, 0, "button", NULL)) {
33 printk(KERN_ERR "button.c: Can't allocate irq %d\n", button_irq);
34 return -EBUSY;
39 printk(KERN_ERR "button.c: Not enough memory\n");
40 error = -ENOMEM;
44 button_dev->evbit[0] = BIT_MASK(EV_KEY);
45 button_dev->keybit[BIT_WORD(BTN_0)] = BIT_MASK(BTN_0);
49 printk(KERN_ERR "button.c: Failed to register device\n");
82 and sets up input bitfields. This way the device driver tells the other
[all …]
/Linux-v6.6/drivers/hid/
Dhid-elecom.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * - BM084 Bluetooth Mouse
5 * - EX-G Trackballs (M-XT3DRBK, M-XT3URBK, M-XT4DRBK)
6 * - DEFT Trackballs (M-DT1DRBK, M-DT1URBK, M-DT2DRBK, M-DT2URBK)
7 * - HUGE Trackballs (M-HT1DRBK, M-HT1URBK)
13 * Copyright (c) 2017 Tomasz Kramkowski <tk@the-tk.com>
14 * Copyright (c) 2020 YOSHIOKA Takuma <lo48576@hard-wi.red>
25 #include "hid-ids.h"
28 * Certain ELECOM mice misreport their button count meaning that they only work
33 * solution seems to involve fixing up the report descriptor.
[all …]
Dhid-roccat-kone.h1 /* 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/arm/boot/dts/allwinner/
Dsun4i-a10-inet9f-rev03.dts4 * 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 …]
/Linux-v6.6/drivers/input/mouse/
Dgpio_mouse.c1 // SPDX-License-Identifier: GPL-2.0-only
19 * @up: GPIO line for up value.
23 * @bleft: GPIO line for left button.
24 * @bmiddle: GPIO line for middle button.
25 * @bright: GPIO line for right button.
33 struct gpio_desc *up; 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/Documentation/input/joydev/
Djoystick.rst3 .. _joystick-doc:
14 linux-input@vger.kernel.org
16 send "subscribe linux-input" to majordomo@vger.kernel.org to subscribe to it.
25 ---------
29 usually packaged as ``joystick``, ``input-utils``, ``evtest``, and so on.
35 ------------
48 ln -s input/js0 js0
49 ln -s input/js1 js1
50 ln -s input/js2 js2
51 ln -s input/js3 js3
[all …]
Djoystick-api.rst1 .. _joystick-api:
7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998
18 driver now reports only any changes of its state. See joystick-api.txt,
27 the driver provides up to 32.
57 __u8 number; /* axis/button number */
65 -------------
69 #define JS_EVENT_BUTTON 0x01 /* button pressed/released */
74 events on open. That is, if it's issuing an INIT BUTTON event, the
86 ---------------
88 The values of ``number`` correspond to the axis or button that
[all …]
/Linux-v6.6/arch/arm64/boot/dts/amlogic/
Dmeson-g12b-odroid-go-ultra.dts1 // 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 …]
Dmeson-gxbb-p200.dts1 // 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 …]
/Linux-v6.6/Documentation/devicetree/bindings/sound/
Dnuvoton,nau8825.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - John Hsu <KCHSU0@nuvoton.com>
13 - $ref: dai-common.yaml#
18 - nuvoton,nau8825
26 nuvoton,jkdet-enable:
31 nuvoton,jkdet-pull-enable:
34 If set - pin pull enabled, otherwise pin in high impedance state.
37 nuvoton,jkdet-pull-up:
[all …]
/Linux-v6.6/arch/arm/boot/dts/microchip/
Dat91sam9m10g45ek.dts1 // 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/arch/arm64/boot/dts/rockchip/
Drk3308-evb.dts1 // 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 …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-driver-wacom4 Contact: linux-bluetooth@vger.kernel.org
14 Contact: linux-input@vger.kernel.org
25 Contact: linux-input@vger.kernel.org
30 button is pressed on the stylus. This luminance level is
31 normally lower than the level when a button is pressed.
35 Contact: linux-input@vger.kernel.org
39 when the stylus touches the tablet surface, or any button is
44 Contact: linux-input@vger.kernel.org
54 Contact: linux-input@vger.kernel.org
63 Contact: linux-input@vger.kernel.org
[all …]
/Linux-v6.6/arch/arm/boot/dts/rockchip/
Drk3288-phycore-rdk.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device tree file for Phytec PCM-947 carrier board
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/leds-pca9532.h>
12 #include "rk3288-phycore-som.dtsi"
15 model = "Phytec RK3288 PCM-947";
16 compatible = "phytec,rk3288-pcm-947", "phytec,rk3288-phycore-som", "rockchip,rk3288";
18 user_buttons: user-buttons {
19 compatible = "gpio-keys";
[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 {
20 label = "Volume Up";
[all …]
/Linux-v6.6/drivers/char/
Dnwbutton.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * NetWinder Button Driver-
22 #include <asm/mach-types.h>
29 static int button_press_count; /* The count of button presses */
42 * to be called when a particular number of button presses occurs.
45 * to be performed by the kernel on different numbers of button presses ;).
48 * do so and return -ENOMEM. If an attempt is made to register a null pointer,
49 * it will fail to do so and return -EINVAL.
61 return -ENOMEM; in button_add_callback()
64 return -EINVAL; in button_add_callback()
[all …]
/Linux-v6.6/drivers/platform/surface/
Dsurfacepro3_button.c1 // 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/samples/uhid/
Duhid-example.c1 // 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
22 * w: Move mouse up
24 * r: Move wheel up
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 …]

12345678910>>...18