Home
last modified time | relevance | path

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

123

/Linux-v6.1/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 …]
Delan,ekth3000.yaml1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen/touchscreen.yaml#
25 wakeup-source:
29 vcc-supply:
38 description: touchpad is a clickpad (the entire surface is a button)
40 elan,middle-button:
42 description: touchpad has a physical middle button
[all …]
/Linux-v6.1/drivers/input/mouse/
Dgpio_mouse.c1 // SPDX-License-Identifier: GPL-2.0-only
23 * @bleft: GPIO line for left button.
24 * @bmiddle: GPIO line for middle button.
25 * @bright: GPIO line for right button.
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()
57 if (gpio->bright) in gpio_mouse_scan()
59 gpiod_get_value(gpio->bright)); in gpio_mouse_scan()
[all …]
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.
133 #define SS4_TS_Y_V2(_b) -(s8)( \
141 #define SS4_MFPACKET_NO_AX 8160 /* X-Coordinate value */
142 #define SS4_MFPACKET_NO_AY 4080 /* Y-Coordinate value */
143 #define SS4_MFPACKET_NO_AX_BL 8176 /* Buttonless X-Coord value */
[all …]
Dvsxxxaa.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Driver for DEC VSXXX-AA mouse (hockey-puck mouse, ball or two rollers)
4 * DEC VSXXX-GA mouse (rectangular mouse, with ball)
5 * DEC VSXXX-AB tablet (digitizer with hair cross or stylus)
7 * Copyright (C) 2003-2004 by Jan-Benedict Glaw <jbglaw@lug-owl.de>
24 * supply at +5V and -12V.
30 * | 4 --- 3 |
32 * -------
35 * 1 (GND) 5 7 -
36 * 2 (RxD) 2 3 -
[all …]
Dtrackpoint.h1 /* SPDX-License-Identifier: GPL-2.0-only */
40 #define TP_EXT_BTN 0x4B /* Read extended button status */
64 #define TP_MB 0x4C /* Read Middle Button Status (RO) */
67 #define TP_REACH 0x57 /* Backup for Z-axis press */
70 /* with Z-axis pressed) */
75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */
76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */
88 #define TP_TOGGLE_MB 0x23 /* Disable/Enable Middle Button */
Dsynaptics.h1 /* SPDX-License-Identifier: GPL-2.0-only */
61 * ---- ---- ------- ------------
62 * 1 0x01 adjustable threshold capacitive button sensitivity
67 * 1 0x10 clickpad bit 0 1-button ClickPad
72 * 2 0x01 clickpad bit 1 2-button ClickPad
84 #define SYN_CAP_CLICKPAD(ex0c) ((ex0c) & BIT(20)) /* 1-button ClickPad */
85 #define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & BIT(8)) /* 2-button ClickPad */
97 * ---- ---- ------- ------------
100 * by the tracktick (pass-through).
102 * contains a built-in fingerprint reader.
[all …]
Dalps.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com>
94 #define ALPS_PASS 0x04 /* device has a pass-through port */
99 #define ALPS_FOUR_BUTTONS 0x40 /* 4 direction button present */
100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with
101 6-byte ALPS packet */
102 #define ALPS_STICK_BITS 0x100 /* separate stick button bits */
117 { { 0x33, 0x02, 0x0a }, { ALPS_PROTO_V1, 0x88, 0xf8, 0 } }, /* UMAX-530T */
119 ALPS_PASS | ALPS_DUALPOINT | ALPS_PS2_INTERLEAVED } }, /* Toshiba Tecra A11-11L */
128 …{ { 0x63, 0x02, 0x3c }, { ALPS_PROTO_V2, 0x8f, 0x8f, ALPS_WHEEL } }, /* Toshiba Satellite S2400-
[all …]
Dcyapa.h6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc.
20 #define CYAPA_GEN3 0x03 /* support MT-protocol B with tracking ID. */
63 * bit 6 - 4: Reserved
64 * bit 3 - 2: Power status
65 * bit 1 - 0: Device status
74 * Operational Finger Count/Button Flags Register
76 * bit 7 - 4: Number of touched finger
78 * bit 2: Middle Physical Button
79 * bit 1: Right Physical Button
80 * bit 0: Left physical Button
[all …]
/Linux-v6.1/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 …]
Dalps.rst1 ----------------------
3 ----------------------
6 ------------
10 Since roughly mid-2010 several new ALPS touchpads have been released and
14 adequate. The design choices were to re-define the alps_model_data
29 ---------
32 E8-E6-E6-E6-E9. An ALPS touchpad should respond with either 00-00-0A or
33 00-00-64 if no buttons are pressed. The bits 0-2 of the first byte will be 1s
37 report" sequence: E8-E7-E7-E7-E9. The response is the model signature and is
41 model signature is always 73-02-64. To differentiate between these
[all …]
Dappletouch.rst3 ----------------------------------
5 ----------------------------------
19 Credits go to Johannes Berg for reverse-engineering the touchpad protocol,
25 -----
33 tap for middle button mouse emulation, 3 finger tap for right button mouse
44 Option "Protocol" "auto-dev"
69 -------------
72 noise when the temperature changes. This is especially true when you power-on
Delantech.rst4 Copyright (C) 2007-2008 Arjan Opmeer <arjan@opmeer.net>
25 5.2.1 Parity checking and packet re-synchronization
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
193 B: 1 = swap left and right button
236 -----------------------------------------
243 L, R, M = 1 when Left, Right, Middle mouse button pressed
[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
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.1/Documentation/input/
Devent-codes.rst1 .. _input-event-codes:
36 - Used as markers to separate events. Events may be separated in time or in
41 - Used to describe state changes of keyboards, buttons, or other key-like
46 - Used to describe relative axis value changes, e.g. moving the mouse 5 units
51 - Used to describe absolute axis value changes, e.g. describing the
56 - Used to describe miscellaneous input data that do not fit into other types.
60 - Used to describe binary state input switches.
64 - Used to turn LEDs on devices on and off.
68 - Used to output sound to devices.
72 - Used for autorepeating devices.
[all …]
/Linux-v6.1/Documentation/process/
Demail-clients.rst7 ---
9 These days most developers use ``git send-email`` instead of regular
19 -------------------
23 attachments, but then the attachments should have content-type
44 Emailed patches should be in ASCII or UTF-8 encoding only.
45 If you configure your email client to send emails with UTF-8 encoding,
48 Email clients should generate and maintain "References:" or "In-Reply-To:"
51 Copy-and-paste (or cut-and-paste) usually does not work for patches
54 copy-and-paste.
66 -----------------------------
[all …]
/Linux-v6.1/drivers/hid/
Dhid-appleir.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * Ported to recent 2.6 kernel versions by Greg Kroah-Hartman <gregkh@suse.de>
11 * Copyright (C) 2008 Greg Kroah-Hartman <greg@kroah.com>
21 #include "hid-ids.h"
34 * 25 87 ee 83 0c -
45 * 25 87 ee ca 0d -
61 * 25 87 ee 47 0d -
75 * 25 87 ee 91 05 gives you the middle button
84 * 25 87 ee a3 04 gives you the middle button
122 * 0x00 or 0x01 ( ) key: 0 -> KEY_RESERVED in get_key()
[all …]
Dhid-lenovo.c1 // SPDX-License-Identifier: GPL-2.0-or-later
4 * - ThinkPad USB Keyboard with TrackPoint (tpkbd)
5 * - ThinkPad Compact Bluetooth Keyboard with TrackPoint (cptkbd)
6 * - ThinkPad Compact USB Keyboard with TrackPoint (cptkbd)
7 * - ThinkPad TrackPoint Keyboard II USB/Bluetooth (cptkbd/tpIIkbd)
13 * - IBM Scrollpoint III
14 * - IBM Scrollpoint Pro
15 * - IBM Scrollpoint Optical
16 * - IBM Scrollpoint Optical 800dpi
17 * - IBM Scrollpoint Optical 800dpi Pro
[all …]
/Linux-v6.1/drivers/input/tablet/
Daiptek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (c) 2002-2004 Bryan W. Headley <bwheadley@earthlink.net>
20 * v0.1 - Initial release
21 * v0.2 - Hack to get around fake event 28's. (Bryan W. Headley)
22 * v0.3 - Make URB dynamic (Bryan W. Headley, Jun-8-2002)
24 * v0.4 - Rewrote substantial portions of the code to deal with
26 * support of 6000U - 12000U, procfs, and macro key support
27 * (Jan-1-2003 - Feb-5-2003, Bryan W. Headley)
28 * v1.0 - Added support for diagnostic messages, count of messages
29 * received from URB - Mar-8-2003, Bryan W. Headley
[all …]
/Linux-v6.1/arch/sparc/include/asm/
Dfhc.h1 /* SPDX-License-Identifier: GPL-2.0 */
34 #define FHC_RCS_BPOR 0x10000000 /* Last reset was due to POR button */
35 #define FHC_RCS_BXIR 0x08000000 /* Last reset was due to XIR button */
44 #define FHC_CONTROL_DCD 0x00008000 /* DC-->DC Converter Disable */
53 #define FHC_CONTROL_MLED 0x00000020 /* 1=Middle LED ON */
/Linux-v6.1/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
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
54 * the report-descriptor as the kernel will parse it:
61 * Button.0001
[all …]
/Linux-v6.1/scripts/kconfig/lxdialog/
Dmenubox.c1 // 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
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
37 * middle of the menu box, not at the bottom.
[all …]
/Linux-v6.1/scripts/kconfig/
Dnconf.gui.c1 // SPDX-License-Identifier: GPL-2.0
35 #define COLOR_DEFAULT -1
106 for (; p->attr; p++) { in set_colors()
107 int attr = p->highlight; in set_colors()
109 if (p->has_color) { in set_colors()
111 init_pair(pair, p->color_fg, p->color_bg); in set_colors()
115 *p->attr = attr; in set_colors()
123 mvwprintw(win, y, (width - strlen(str)) / 2, "%s", str); in print_in_middle()
185 * each button must be a char*
186 * return the selected button
[all …]
/Linux-v6.1/arch/arm/boot/dts/
Darmada-xp-synology-ds414.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 * The 0xf1000000 is the default used by the recent, DT-capable, U-Boot
12 * were delivered with an older version of u-boot that left internal
17 * installing it from u-boot prompt) or adjust the Devive Tree
21 /dts-v1/;
23 #include <dt-bindings/input/input.h>
24 #include <dt-bindings/gpio/gpio.h>
25 #include "armada-xp-mv78230.dtsi"
29 compatible = "synology,ds414", "marvell,armadaxp-mv78230",
30 "marvell,armadaxp", "marvell,armada-370-xp";
[all …]
/Linux-v6.1/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 …]

123