Home
last modified time | relevance | path

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

12345678910>>...24

/linux/Documentation/input/devices/
H A Dsentelic.rst8 :Copyright: |copy| 2002-2011 Sentelic Corporation.
10 :Last update: Dec-07-2011
12 Finger Sensing Pad Intellimouse Mode (scrolling wheel, 4th and 5th buttons)
15 A) MSID 4: Scrolling wheel mode plus Forward page(4th button) and Backward
16 page (5th button)
22 5. FSP will respond 0x04.
27 Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
28 BYTE |---------------|BYTE |---------------|BYTE|---------------|BYTE|---------------|
30 |---------------| |---------------| |---------------| |---------------|
37 Bit2 => Middle Button, 1 is pressed, 0 is not pressed.
[all …]
H A 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
51 the output lines of the parallel port are shared, while one of 5 available
57 The main problem with PC parallel ports is that they don't have +5V power
59 for your pads, use either keyboard or joystick port, and make a pass-through
[all …]
H A Delantech.rst4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net>
22 5. Hardware version 2
25 5.2.1 Parity checking and packet re-synchronization
58 4 allows tracking up to 5 fingers.
67 Note that a mouse button is also associated with either the touchpad or the
114 non-zero value will turn it ON. For hardware version 1 the default is ON.
145 4 bytes version: (after the arrow is the name given in the Dell-provided driver)
173 ---------
179 echo -n 0x16 > reg_10
183 bit 7 6 5 4 3 2 1 0
[all …]
/linux/drivers/platform/x86/intel/
H A Dhid.c1 // SPDX-License-Identifier: GPL-2.0+
3 * Intel HID event & 5 button array driver
12 #include <linux/input/sparse-keymap.h>
21 TABLET_SW_AUTO = -1,
30 "Enable 5 Button Array support. "
31 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
36 "Enable SW_TABLET_MODE reporting -1:auto 0:off 1:at-first-event 2:at-probe. "
37 "If you need this please report this to: platform-driver-x86@vger.kernel.org");
62 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
63 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
[all …]
/linux/drivers/hid/
H A 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/drivers/input/keyboard/
H A Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
31 #include <dt-bindings/input/gpio-keys.h>
34 const struct gpio_keys_button *button; member
41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
69 * There are 4 attributes under /sys/devices/platform/gpio-keys/
70 * keys [ro] - bitmap of keys (EV_KEY) which can be
72 * switches [ro] - bitmap of switches (EV_SW) which can be
74 * disabled_keys [rw] - bitmap of keys currently disabled
75 * disabled_switches [rw] - bitmap of switches currently disabled
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-2024.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 /dts-v1/;
8 #include "sun50i-h616.dtsi"
9 #include "sun50i-h616-cpu-opp.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/linux-event-codes.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/leds/common.h>
17 chassis-type = "handset";
18 compatible = "anbernic,rg35xx-2024", "allwinner,sun50i-h700";
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Ds3c6410-mini6410.dts1 // SPDX-License-Identifier: GPL-2.0
11 /dts-v1/;
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/interrupt-controller/irq.h>
31 fin_pll: oscillator-0 {
32 compatible = "fixed-clock";
33 clock-frequency = <12000000>;
34 clock-output-names = "fin_pll";
35 #clock-cells = <0>;
38 xusbxti: oscillator-1 {
[all …]
/linux/Documentation/hid/
H A Dhidintro.rst1 .. SPDX-License-Identifier: GPL-2.0
8 descriptors are, and of how a casual (non-kernel) programmer can deal
18 hidreport-parsing
50 Documentation/hid/hid-transport.rst). Devices may misbehave because the
60 <https://www.usb.org/document-library/device-class-definition-hid-111>`_ (HID Spec from now on)
61 * the `HID Usage Tables <https://usb.org/document-library/hid-usage-tables-14>`_ (HUT from now on)
64 (USB, I2C, Bluetooth, etc.). See Documentation/hid/hid-transport.rst.
73 $ hexdump -C /sys/bus/hid/devices/0003\:093A\:2510.0002/report_descriptor
95 Documentation/hid/hidreport-parsing.rst; you only need to understand it
107 * `hid-tools <https://gitlab.freedesktop.org/libevdev/hid-tools>`_,
[all …]
/linux/drivers/hid/bpf/progs/
H A DXPPen__DecoMini4.bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * XP-Pen devices return a descriptor with the values the driver should use when
21 * ----- ----- ----- -----
23 * | | | `- Resolution: 5080 (13d8)
24 * | | `- Maximum pressure: 8191 (1FFF)
25 * | `- Logical maximum Y: 15240 (3B88)
26 * `- Logical maximum X: 20320 (4F60)
44 * Button 1: 06 00 05 00 00 00 00 00 -> b
45 * Button 2: 06 00 08 00 00 00 00 00 -> e
46 * Button 3: 06 04 00 00 00 00 00 00 -> LAlt
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Dgpio-mouse.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-mouse.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 to 5-7 GPIO lines.
14 - Anshul Dalal <anshulusr@gmail.com>
18 const: gpio-mouse
20 scan-interval-ms:
23 up-gpios:
26 down-gpios:
[all …]
H A 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…
35 - items:
[all …]
/linux/arch/mips/boot/dts/ingenic/
H A Dgcw0.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
5 #include <dt-bindings/clock/ingenic,tcu.h>
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/iio/adc/ingenic,adc.h>
9 #include <dt-bindings/input/input.h>
29 stdout-path = "serial2:57600n8";
33 compatible = "regulator-fixed";
34 regulator-name = "vcc";
36 regulator-min-microvolt = <3300000>;
[all …]
/linux/drivers/input/misc/
H A Dkeyspan_remote.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2005 Zymeta Corporation - Michael Downey (downey@zymeta.com)
28 #define ZERO_MASK 0x1F /* 5 bits for a 0 */
34 #define STOP_MASK 0x1F /* 5 bits for the STOP sequence */
37 #define RECV_SIZE 8 /* The UIA-11 type have a 8 byte limit. */
41 * Currently there are 15 and 17 button models so RESERVED codes
88 u8 button; member
132 snprintf(codes + i * 3, 4, "%02x ", dev->in_buffer[i]); in keyspan_print()
134 dev_info(&dev->udev->dev, "%s\n", codes); in keyspan_print()
143 if (dev->data.bits_left >= bits_needed) in keyspan_load_tester()
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-v3s-anbernic-rg-nano.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include "sun8i-v3s.dtsi"
6 #include "sunxi-common-regulators.dtsi"
10 compatible = "anbernic,rg-nano", "allwinner,sun8i-v3s";
19 compatible = "pwm-backlight";
20 brightness-levels = <0 1 2 3 8 14 21 32 46 60 80 100>;
21 default-brightness-level = <11>;
22 power-supply = <&reg_vcc5v0>;
[all …]
/linux/drivers/input/mouse/
H A Dalps.h1 /* SPDX-License-Identifier: GPL-2.0-only */
28 #define DOLPHIN_PROFILE_XOFFSET 8 /* x-electrode offset */
29 #define DOLPHIN_PROFILE_YOFFSET 1 /* y-electrode offset */
32 * enum SS4_PACKET_ID - defines the packet type for V8
33 * SS4_PACKET_ID_IDLE: There's no finger and no button activity.
35 * or there's button activities.
57 #define SS4PLUS_NUMSENSOR_YOFFSET 5
70 ((_b[5]) == 0x00) \
76 ((_b[2] << 5) & 0x1C00) \
82 ((_b[4] << 5) & 0x0C00) \
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dtest_tablet.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
34 """Represents whether a button is pressed on the stylus"""
43 https://docs.microsoft.com/en-us/windows-hardware/design/component-guidelines/windows-pen-states
59 self, touch: BtnTouch, tool: Optional[ToolType], button: Optional[bool]
63 self.button = button # type: ignore
66 def from_evdev(cls, evdev, test_button) -> "PenState":
69 button = False
86 # we take only the provided button into account
88 button = bool(evdev.value[test_button.value])
[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…
4 Description: The mouse can store 5 profiles which can be switched by the
5 press of a button. A profile is split into general settings and
6 button settings. The buttons variable holds information about
7 button layout. When written, this file lets one write the
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…
28 Description: The mouse can store 5 profiles which can be switched by the
29 press of a button. A profile is split into general settings and
30 button settings. A profile holds information like resolution,
[all …]
H A Dsysfs-driver-hid-roccat-koneplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
4 Description: The integer value of this attribute ranges from 0-4.
12 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
15 Description: The integer value of this attribute ranges from 0-4.
24 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
36 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
44 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
47 Description: The mouse can store a macro with max 500 key/button strokes
50 button for a specific profile. Button and profile numbers are
55 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
H A Dsysfs-driver-hid-roccat-pyra1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
5 press of a button.
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
26 range 0-4.
31 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
43 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
51 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
54 Description: The mouse can store 5 profiles which can be switched by the
55 press of a button. A profile is split in settings and buttons.
56 profile_buttons holds information about button layout.
[all …]
H A Dsysfs-driver-hid-roccat-kovaplus1 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
4 Description: The integer value of this attribute ranges from 1-4.
11 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
14 Description: The integer value of this attribute ranges from 0-4.
22 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
25 Description: The integer value of this attribute ranges from 1-10.
32 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
35 Description: The integer value of this attribute ranges from 1-10.
42 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
54 What: /sys/bus/usb/devices/<busnum>-<devnum>:<config num>.<interface num>/<hid-bus>:<vendor-id>:<p…
[all …]
/linux/arch/arm/boot/dts/broadcom/
H A Dbcm47094-netgear-r8500.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
6 /dts-v1/;
9 #include "bcm5301x-nand-cs0-bch8.dtsi"
26 compatible = "gpio-leds";
28 led-power0 {
31 linux,default-trigger = "default-on";
34 led-power1 {
39 led-5ghz-1 {
40 label = "bcm53xx:white:5ghz-1";
44 led-5ghz-2 {
[all …]
/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 …]
/linux/arch/arm/boot/dts/marvell/
H A Dkirkwood-netxbig.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device Tree common file for LaCie 2Big and 5Big Network v2
9 * Based on netxbig_v2-setup.c,
14 #include <dt-bindings/leds/leds-netxbig.h>
16 #include "kirkwood-6281.dtsi"
21 stdout-path = &uart0;
33 #address-cells = <1>;
34 #size-cells = <1>;
35 compatible = "mxicy,mx25l4005a", "jedec,spi-nor";
37 spi-max-frequency = <20000000>;
[all …]
/linux/drivers/input/rmi4/
H A Drmi_f30.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (c) 2012-2016 Synaptics Incorporated
20 #define RMI_F30_HAS_GPIO_DRV_CTL BIT(5)
29 #define RMI_F30_CTRL_1_HALTED BIT(5)
89 error = rmi_read_block(fn->rmi_dev, fn->fd.control_base_addr, in rmi_f30_read_control_parameters()
90 f30->ctrl_regs, f30->ctrl_regs_size); in rmi_f30_read_control_parameters()
92 dev_err(&fn->dev, in rmi_f30_read_control_parameters()
94 __func__, fn->fd.control_base_addr, error); in rmi_f30_read_control_parameters()
102 struct f30_data *f30, unsigned int button) in rmi_f30_report_button() argument
104 unsigned int reg_num = button >> 3; in rmi_f30_report_button()
[all …]

12345678910>>...24