Home
last modified time | relevance | path

Searched +full:max +full:- +full:fingers (Results 1 – 25 of 66) sorted by relevance

123

/kernel/linux/linux-5.10/drivers/platform/x86/
Dtouchscreen_dmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* The EFI embedded-fw code expects this to be the first member! */
30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1665),
31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1140),
32 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
33 PROPERTY_ENTRY_BOOL("silead,home-button"),
34 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-chuwi-hi8.fw"),
44 PROPERTY_ENTRY_U32("touchscreen-size-x", 1728),
45 PROPERTY_ENTRY_U32("touchscreen-size-y", 1148),
46 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
[all …]
/kernel/linux/linux-6.6/drivers/platform/x86/
Dtouchscreen_dmi.c1 // SPDX-License-Identifier: GPL-2.0-or-later
21 /* The EFI embedded-fw code expects this to be the first member! */
30 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
31 PROPERTY_ENTRY_U32("touchscreen-size-y", 1280),
32 PROPERTY_ENTRY_BOOL("touchscreen-inverted-y"),
33 PROPERTY_ENTRY_BOOL("touchscreen-swapped-x-y"),
34 PROPERTY_ENTRY_U32("silead,max-fingers", 10),
35 PROPERTY_ENTRY_BOOL("silead,home-button"),
36 PROPERTY_ENTRY_STRING("firmware-name", "gsl1680-archos-101-cesium-educ.fw"),
46 PROPERTY_ENTRY_U32("touchscreen-size-x", 1850),
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dsilead_gsl1680.txt4 - compatible : Must be one of the following, depending on the model:
10 - reg : I2C slave address of the chip (0x40)
11 - interrupts : interrupt specification for the gsl1680 interrupt
12 - power-gpios : Specification for the pin connected to the gsl1680's
15 - touchscreen-size-x : See touchscreen.txt
16 - touchscreen-size-y : See touchscreen.txt
19 - firmware-name : File basename (string) for board specific firmware
20 - touchscreen-inverted-x : See touchscreen.txt
21 - touchscreen-inverted-y : See touchscreen.txt
22 - touchscreen-swapped-x-y : See touchscreen.txt
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/
Dsilead,gsl1680.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Torokhov <dmitry.torokhov@gmail.com>
13 - $ref: touchscreen.yaml#
18 - silead,gsl1680
19 - silead,gsl1688
20 - silead,gsl3670
21 - silead,gsl3675
22 - silead,gsl3692
[all …]
/kernel/linux/linux-6.6/drivers/input/mouse/
Dappletouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Apple USB Touchpad (for post-February 2005 PowerBooks and MacBooks) driver
5 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
6 * Copyright (C) 2005-2008 Johannes Berg (johannes@sipsolutions.net)
7 * Copyright (C) 2005-2008 Stelian Pop (stelian@popies.net)
8 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
10 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
12 * Copyright (C) 2007-2008 Sven Anders (anders@anduras.de)
26 * 0 <= x <= (xsensors - 1) * xfact
27 * 0 <= y <= (ysensors - 1) * yfact
[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 */
100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with
101 6-byte ALPS packet */
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-
132 …{ { 0x73, 0x00, 0x0a }, { ALPS_PROTO_V2, 0xf8, 0xf8, ALPS_DUALPOINT } }, /* ThinkPad R61 8918-5QG…
180 /* Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl> */
[all …]
/kernel/linux/linux-5.10/drivers/input/mouse/
Dappletouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Apple USB Touchpad (for post-February 2005 PowerBooks and MacBooks) driver
5 * Copyright (C) 2001-2004 Greg Kroah-Hartman (greg@kroah.com)
6 * Copyright (C) 2005-2008 Johannes Berg (johannes@sipsolutions.net)
7 * Copyright (C) 2005-2008 Stelian Pop (stelian@popies.net)
8 * Copyright (C) 2005 Frank Arnold (frank@scirocco-5v-turbo.de)
10 * Copyright (C) 2005 Michael Hanselmann (linux-kernel@hansmi.ch)
12 * Copyright (C) 2007-2008 Sven Anders (anders@anduras.de)
26 * 0 <= x <= (xsensors - 1) * xfact
27 * 0 <= y <= (ysensors - 1) * yfact
[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 */
100 #define ALPS_PS2_INTERLEAVED 0x80 /* 3-byte PS/2 packet interleaved with
101 6-byte ALPS packet */
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-
132 …{ { 0x73, 0x00, 0x0a }, { ALPS_PROTO_V2, 0xf8, 0xf8, ALPS_DUALPOINT } }, /* ThinkPad R61 8918-5QG…
180 /* Reported-by: Hans de Bruin <jmdebruin@xmsnet.nl> */
[all …]
/kernel/linux/linux-6.6/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
48 All drivers mark the end of a multi-touch transfer by calling the usual
67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id
68 is interpreted as a contact, and the value -1 denotes an unused slot. A
[all …]
/kernel/linux/linux-5.10/Documentation/input/
Dmulti-touch-protocol.rst4 Multi-touch (MT) Protocol
7 :Copyright: |copy| 2009-2010 Henrik Rydberg <rydberg@euromail.se>
11 ------------
13 In order to utilize the full power of the new multi-touch and multi-user
16 document describes the multi-touch (MT) protocol which allows kernel
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
48 All drivers mark the end of a multi-touch transfer by calling the usual
67 the ABS_MT_TRACKING_ID of the associated slot. A non-negative tracking id
68 is interpreted as a contact, and the value -1 denotes an unused slot. A
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcy8ctma140.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Inspired by the tma140_skomer.c driver in the Samsung GT-S7710 code
9 * drop. The GT-S7710 is codenamed "Skomer", the code also indicates
12 * The code drop for GT-S7710 also contains a firmware downloader and
15 * just use it to read the fingers. The shipped vendor driver does the
73 id = i % 2 ? buf[-1] & 0x0f : buf[5] >> 4; in cy8ctma140_report()
74 slot = input_mt_get_slot_by_key(ts->input, id); in cy8ctma140_report()
82 dev_dbg(ts->dev, "finger %d: ID %02x (%d, %d) w: %d\n", in cy8ctma140_report()
85 input_mt_slot(ts->input, slot); in cy8ctma140_report()
86 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); in cy8ctma140_report()
[all …]
Dauo-pixcir-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for AUO in-cell touchscreens
7 * loosely based on auo_touch.c from Dell Streak vendor-kernel
23 #include <linux/input/auo-pixcir-ts.h>
77 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch
127 struct i2c_client *client = ts->client; in auo_pixcir_collect_data()
128 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; in auo_pixcir_collect_data()
137 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data()
145 dev_err(&client->dev, "could not read touch area, %d\n", ret); in auo_pixcir_collect_data()
155 if (point[i].coord_x > pdata->x_max || in auo_pixcir_collect_data()
[all …]
Dsilead.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* -------------------------------------------------------------------------
3 * Copyright (C) 2014-2015, Intel Corporation
7 * Copyright (C) 2010-2015, Shanghai Sileadinc Co.Ltd
9 * -------------------------------------------------------------------------
87 struct device *dev = &data->client->dev; in silead_ts_request_input_dev()
90 data->input = devm_input_allocate_device(dev); in silead_ts_request_input_dev()
91 if (!data->input) { in silead_ts_request_input_dev()
94 return -ENOMEM; in silead_ts_request_input_dev()
97 input_set_abs_params(data->input, ABS_MT_POSITION_X, 0, 4095, 0, 0); in silead_ts_request_input_dev()
[all …]
Dpixcir_i2c_ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2010-2011 Pixcir, Inc.
20 #define PIXCIR_MAX_SLOTS 5 /* Max fingers supported by driver */
30 * active: max scan speed
65 * struct pixcir_i2c_chip_data - chip related data
66 * @max_fingers: Max number of fingers reported simultaneously by h/w
102 const struct pixcir_i2c_chip_data *chip = tsdata->chip; in pixcir_ts_parse()
106 i = chip->has_hw_ids ? 1 : 0; in pixcir_ts_parse()
107 readsize = 2 + tsdata->chip->max_fingers * (4 + i); in pixcir_ts_parse()
111 ret = i2c_master_send(tsdata->client, wrbuf, sizeof(wrbuf)); in pixcir_ts_parse()
[all …]
/kernel/linux/linux-6.6/drivers/input/touchscreen/
Dcy8ctma140.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Inspired by the tma140_skomer.c driver in the Samsung GT-S7710 code
9 * drop. The GT-S7710 is codenamed "Skomer", the code also indicates
12 * The code drop for GT-S7710 also contains a firmware downloader and
15 * just use it to read the fingers. The shipped vendor driver does the
73 id = i % 2 ? buf[-1] & 0x0f : buf[5] >> 4; in cy8ctma140_report()
74 slot = input_mt_get_slot_by_key(ts->input, id); in cy8ctma140_report()
82 dev_dbg(ts->dev, "finger %d: ID %02x (%d, %d) w: %d\n", in cy8ctma140_report()
85 input_mt_slot(ts->input, slot); in cy8ctma140_report()
86 input_mt_report_slot_state(ts->input, MT_TOOL_FINGER, true); in cy8ctma140_report()
[all …]
Dauo-pixcir-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for AUO in-cell touchscreens
7 * loosely based on auo_touch.c from Dell Streak vendor-kernel
87 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch
141 struct i2c_client *client = ts->client; in auo_pixcir_collect_data()
150 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data()
158 dev_err(&client->dev, "could not read touch area, %d\n", ret); in auo_pixcir_collect_data()
168 if (point[i].coord_x > ts->x_max || in auo_pixcir_collect_data()
169 point[i].coord_y > ts->y_max) { in auo_pixcir_collect_data()
170 dev_warn(&client->dev, "coordinates (%d,%d) invalid\n", in auo_pixcir_collect_data()
[all …]
/kernel/linux/linux-6.6/drivers/input/keyboard/
Dapplespi.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2015-2018 Federico Lorenzi
6 * Copyright (c) 2017-2018 Ronald Tschalär
26 * SPI-based Protocol
27 * ------------------
40 * fixed, 256-byte size). In that case it will be split over multiple,
85 ((KBD_BL_LEVEL_MAX - KBD_BL_LEVEL_MIN) * KBD_BL_LEVEL_SCALE / 255U)
102 …emap Fn key ([0] = no-remap; 1 = left-ctrl, 2 = left-shift, 3 = left-alt, 4 = left-meta, 6 = right
106 MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. ([0] = disabled,…
114 * struct keyboard_protocol - keyboard message.
[all …]
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dapplespi.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (c) 2015-2018 Federico Lorenzi
6 * Copyright (c) 2017-2018 Ronald Tschalär
26 * SPI-based Protocol
27 * ------------------
40 * fixed, 256-byte size). In that case it will be split over multiple,
85 ((KBD_BL_LEVEL_MAX - KBD_BL_LEVEL_MIN) * KBD_BL_LEVEL_SCALE / 255U)
102 …emap Fn key ([0] = no-remap; 1 = left-ctrl, 2 = left-shift, 3 = left-alt, 4 = left-meta, 6 = right
106 MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. ([0] = disabled,…
114 * struct keyboard_protocol - keyboard message.
[all …]
/kernel/linux/linux-6.6/drivers/hid/
Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
46 * Accelerometer min/max values
51 int max; member
66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET)
[all …]
/kernel/linux/linux-5.10/drivers/hid/
Dhid-udraw-ps3.c1 // SPDX-License-Identifier: GPL-2.0-only
11 #include "hid-ids.h"
21 * https://vvvv.org/contribution/udraw-hid
26 * - the touch area which works as a touchpad
27 * - the tablet area which works as a touchpad/drawing tablet
28 * - a joypad with a d-pad, and 7 buttons
29 * - an accelerometer device
46 * Accelerometer min/max values
51 int max; member
66 #define MAX_PRESSURE (255 - PRESSURE_OFFSET)
[all …]
Dhid-multitouch.c1 // SPDX-License-Identifier: GPL-2.0-or-later
5 * Copyright (c) 2010-2012 Stephane Chatty <chatty@enac.fr>
6 * Copyright (c) 2010-2013 Benjamin Tissoires <benjamin.tissoires@gmail.com>
7 * Copyright (c) 2010-2012 Ecole Nationale de l'Aviation Civile, France
8 * Copyright (c) 2012-2013 Red Hat, Inc
10 * This code is partly based on hid-egalax.c:
16 * This code is partly based on hid-3m-pct.c:
18 * Copyright (c) 2009-2010 Stephane Chatty <chatty@enac.fr>
27 * This driver is regularly tested thanks to the test suite in hid-tools[1].
31 * [1] https://gitlab.freedesktop.org/libevdev/hid-tools
[all …]
/kernel/linux/linux-6.6/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
20 stdout-path = "serial4:115200n8";
28 keys: gpio-keys {
29 compatible = "gpio-keys";
30 pinctrl-names = "default";
31 pinctrl-0 = <&pwr_key>;
33 key-power {
[all …]
/kernel/linux/linux-5.10/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include <dt-bindings/input/input.h>
12 compatible = "rockchip,px5-evb", "rockchip,px5", "rockchip,rk3368";
15 stdout-path = "serial4:115200n8";
23 keys: gpio-keys {
24 compatible = "gpio-keys";
25 pinctrl-names = "default";
26 pinctrl-0 = <&pwr_key>;
32 wakeup-source;
[all …]
/kernel/linux/linux-6.6/arch/arm/boot/dts/rockchip/
Drk3188-px3-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
20 stdout-path = "serial2:115200n8";
28 gpio-keys {
29 compatible = "gpio-keys";
32 key-power {
[all …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Drk3188-px3-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andy Yan <andy.yan@rock-chips.com>
6 /dts-v1/;
7 #include <dt-bindings/input/input.h>
11 model = "Rockchip PX3-EVB";
12 compatible = "rockchip,px3-evb", "rockchip,px3", "rockchip,rk3188";
15 stdout-path = "serial2:115200n8";
23 gpio-keys {
24 compatible = "gpio-keys";
31 linux,input-type = <1>;
[all …]

123