Home
last modified time | relevance | path

Searched +full:event +full:- +full:touch (Results 1 – 25 of 511) sorted by relevance

12345678910>>...21

/OK3568_Linux_fs/kernel/drivers/input/touchscreen/
H A Dda9034-ts.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2006-2008 Marvell International Ltd.
66 static inline int is_pen_down(struct da9034_touch *touch) in is_pen_down() argument
68 return da903x_query_status(touch->da9034_dev, DA9034_STATUS_PEN_DOWN); in is_pen_down()
71 static inline int detect_pen_down(struct da9034_touch *touch, int on) in detect_pen_down() argument
74 return da903x_set_bits(touch->da9034_dev, in detect_pen_down()
77 return da903x_clr_bits(touch->da9034_dev, in detect_pen_down()
81 static int read_tsi(struct da9034_touch *touch) in read_tsi() argument
86 ret = da903x_read(touch->da9034_dev, DA9034_TSI_X_MSB, &_x); in read_tsi()
90 ret = da903x_read(touch->da9034_dev, DA9034_TSI_Y_MSB, &_y); in read_tsi()
[all …]
H A Dchipone_icn8318.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 __u8 event; member
61 .addr = client->addr, in icn8318_read_touch_data()
66 .addr = client->addr, in icn8318_read_touch_data()
73 return i2c_transfer(client->adapter, msg, 2); in icn8318_read_touch_data()
76 static inline bool icn8318_touch_active(u8 event) in icn8318_touch_active() argument
78 return (event == ICN8318_EVENT_UPDATE1) || in icn8318_touch_active()
79 (event == ICN8318_EVENT_UPDATE2); in icn8318_touch_active()
85 struct device *dev = &data->client->dev; in icn8318_irq()
89 ret = icn8318_read_touch_data(data->client, &touch_data); in icn8318_irq()
[all …]
H A Ds6sy761.c1 // SPDX-License-Identifier: GPL-2.0
60 /* event id */
64 /* event register masks */
74 /* event touch state values */
122 .addr = sdata->client->addr, in s6sy761_read_events()
127 .addr = sdata->client->addr, in s6sy761_read_events()
130 .buf = sdata->data + S6SY761_EVENT_SIZE, in s6sy761_read_events()
135 ret = i2c_transfer(sdata->client->adapter, msgs, ARRAY_SIZE(msgs)); in s6sy761_read_events()
139 return ret == ARRAY_SIZE(msgs) ? 0 : -EIO; in s6sy761_read_events()
143 u8 *event, u8 tid) in s6sy761_report_coordinates() argument
[all …]
H A Dchipone_icn8505.c1 // SPDX-License-Identifier: GPL-2.0+
5 * Copyright (c) 2015-2018 Red Hat Inc.
54 u8 event; member
97 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_read_xfer()
99 ret = i2c_transfer(client->adapter, msg, 2); in icn8505_read_xfer()
102 ret = -EIO; in icn8505_read_xfer()
104 dev_err(&client->dev, in icn8505_read_xfer()
117 u8 buf[3 + 32]; /* 3 bytes for 24 bit reg-addr + 32 bytes max len */ in icn8505_write_xfer()
126 return -EINVAL; in icn8505_write_xfer()
129 buf[i] = (reg_addr >> (reg_addr_width - (i + 1) * 8)) & 0xff; in icn8505_write_xfer()
[all …]
H A Dstmfts.c1 // SPDX-License-Identifier: GPL-2.0
54 /* multi touch related event masks */
61 /* key related event masks */
116 if (value != sdata->led_status && sdata->ledvdd) { in stmfts_brightness_set()
118 regulator_disable(sdata->ledvdd); in stmfts_brightness_set()
120 err = regulator_enable(sdata->ledvdd); in stmfts_brightness_set()
122 dev_warn(&sdata->client->dev, in stmfts_brightness_set()
128 sdata->led_status = value; in stmfts_brightness_set()
139 return !!regulator_is_enabled(sdata->ledvdd); in stmfts_brightness_get()
151 .addr = sdata->client->addr, in stmfts_read_events()
[all …]
/OK3568_Linux_fs/external/xserver/dix/
H A Dtouch.c18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
28 #include <dix-config.h>
46 * Some documentation about touch points:
47 * The driver submits touch events with it's own (unique) touch point ID.
48 * The driver may re-use those IDs, the DDX doesn't care. It just passes on
59 * The DDXTouchPointInfo struct is stored dev->last.touches. When the event
60 * being processed, it becomes a TouchPointInfo in dev->touch-touches which
65 * Check which devices need a bigger touch event queue and grow their
72 * anyway and re-executing this won't help.
82 size = dev->last.num_touches + dev->last.num_touches / 2 + 1; in TouchResizeQueue()
[all …]
H A Dgetevents.c3 * Copyright © 2006-2007 Daniel Stone
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
27 * Peter Hutterer <peter.hutterer@who-t.net>
31 #include <dix-config.h>
96 SetBit(pDev->button->down, button); in set_button_down()
98 SetBit(pDev->button->postdown, button); in set_button_down()
105 ClearBit(pDev->button->down, button); in set_button_up()
107 ClearBit(pDev->button->postdown, button); in set_button_up()
116 ret = ret || BitIsOn(pDev->button->down, button); in button_is_down()
118 ret = ret || BitIsOn(pDev->button->postdown, button); in button_is_down()
[all …]
/OK3568_Linux_fs/kernel/Documentation/input/
H A 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
23 describes how to send updates for individual contacts via event slots.
30 --------------
34 packet. Since these events are ignored by current single-touch (ST)
40 event, which instructs the receiver to accept the data for the current
45 This generates an ABS_MT_SLOT event, which instructs the receiver to
[all …]
H A Devent-codes.rst1 .. _input-event-codes:
4 Input event codes
12 A single hardware event generates multiple input events. Each input event
13 contains the new value of a single data item. A special event type, EV_SYN, is
15 the same moment in time. In the following, the term "event" refers to a single
16 input event encompassing a type, code, and value.
19 of event codes have changed. However, the state is maintained within the Linux
22 event code values using the EVIOCG* ioctls defined in linux/input.h. The event
24 class/input/event*/device/capabilities/, and the properties of a device are
25 provided in class/input/event*/device/properties.
[all …]
/OK3568_Linux_fs/external/xserver/Xi/
H A Dexevents.c16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25 Copyright 1989 by Hewlett-Packard Company, Palo Alto, California.
33 supporting documentation, and that the name of Hewlett-Packard not be
37 HEWLETT-PACKARD DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
38 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
39 HEWLETT-PACKARD BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
64 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
82 #include <dix-config.h>
112 #define WID(w) ((w) ? ((w)->drawable.id) : 0)
143 IsPointerEvent(InternalEvent *event) in IsPointerEvent() argument
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/
H A Diqs269a.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Azoteq IQS269A Capacitive Touch Controller
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS269A is an 8-channel capacitive touch controller that features
14 additional Hall-effect and inductive sensing capabilities.
28 "#address-cells":
31 "#size-cells":
34 azoteq,hall-enable:
[all …]
H A Diqs62x-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <jeff@labundy.com>
13 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors
14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens-
20 further details and examples. Sensor hardware configuration (self-capacitive
21 vs. mutual-inductive, etc.) is selected based on the device's firmware.
26 - azoteq,iqs620a-keys
[all …]
/OK3568_Linux_fs/kernel/include/xen/interface/io/
H A Dkbdif.h2 * kbdif.h -- Xen virtual keyboard/mouse
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
34 * The two halves of a para-virtual driver utilize nodes within
48 *---------------------------- Features supported ----------------------------
54 * feature-disable-keyboard
60 * feature-disable-pointer
66 * feature-abs-pointer
72 * feature-multi-touch
75 * Backends, which support reporting of multi-touch events
78 * feature-raw-pointer
[all …]
/OK3568_Linux_fs/kernel/drivers/input/touchscreen/cyttsp5/
H A Dcyttsp5_mt_common.c3 * Parade TrueTouch(TM) Standard Product V5 Multi-Touch Reports Module.
13 * Copyright (C) 2012-2015 Cypress Semiconductor
33 #define MT_PARAM_SIGNAL(md, sig_ost) PARAM_SIGNAL(md->pdata->frmwrk, sig_ost)
34 #define MT_PARAM_MIN(md, sig_ost) PARAM_MIN(md->pdata->frmwrk, sig_ost)
35 #define MT_PARAM_MAX(md, sig_ost) PARAM_MAX(md->pdata->frmwrk, sig_ost)
36 #define MT_PARAM_FUZZ(md, sig_ost) PARAM_FUZZ(md->pdata->frmwrk, sig_ost)
37 #define MT_PARAM_FLAT(md, sig_ost) PARAM_FLAT(md->pdata->frmwrk, sig_ost)
47 int max = md->si->tch_abs[CY_TCH_T].max; in cyttsp5_mt_lift_all()
49 if (md->num_prv_rec != 0) { in cyttsp5_mt_lift_all()
50 if (md->mt_function.report_slot_liftoff) in cyttsp5_mt_lift_all()
[all …]
H A Dcyttsp5_proximity.c13 * Copyright (C) 2013-2015 Cypress Semiconductor
43 return &cd->pd; in get_prox_data()
51 input_report_abs(pd->input, ABS_DISTANCE, val); in cyttsp5_report_proximity()
52 input_sync(pd->input); in cyttsp5_report_proximity()
62 parade_debug(pd->dev, DEBUG_LEVEL_2, in cyttsp5_get_touch_axis()
70 *axis &= max - 1; in cyttsp5_get_touch_axis()
72 parade_debug(pd->dev, DEBUG_LEVEL_2, in cyttsp5_get_touch_axis()
79 struct cyttsp5_touch *touch, u8 *xy_mode) in cyttsp5_get_touch_hdr() argument
81 struct device *dev = pd->dev; in cyttsp5_get_touch_hdr()
82 struct cyttsp5_sysinfo *si = pd->si; in cyttsp5_get_touch_hdr()
[all …]
/OK3568_Linux_fs/external/xserver/include/
H A Deventstr.h17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
32 * This file describes the event structures used internally by the X
33 * server during event generation and event processing.
42 * Event types. Used exclusively internal to the server, not visible on the
46 * Keep ET_Raw* in the same order as KeyPress - Motion
86 EVENT_SOURCE_FOCUS, /**< Keys or buttons previously down on focus-in */
91 * copied into the matching protocol event.
94 * the event is in the EQ.
101 int deviceid; /**< Device to post this event for */
105 touch events) */
[all …]
H A Dinputstr.h16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
38 ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
70 (CLIENT_BITS((obj)->resource) == (client)->clientAsMask)
74 /* This is the last XI2 event supported by the server. If you add
92 * This struct stores the core event mask for each client except the client
99 * The event mask for the client that created the window is stored in
100 * win->eventMask instead.
110 Mask mask; /**< Core event mask */
114 * This struct stores the XI event mask for each client.
123 Mask mask[EMASKSIZE]; /**< Actual XI event mask, deviceid is index */
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/location/declarativemaps/
H A Dqquickgeomapgesturearea.cpp14 ** and conditions see http://www.qt.io/terms-conditions. For further
15 ** information use the contact form at http://www.qt.io/contact-us.
31 ** met: http://www.gnu.org/licenses/gpl-2.0.html.
92 // Keeps it in +- 180
97 angle -= 360; in touchAngle()
101 // Deals with angles crossing the +-180 edge, assumes that the delta can't be > 180
104 qreal delta = angle1 - angle2; in angleDelta()
106 delta = angle1 - angle2 - 360.0; in angleDelta()
107 …else if (delta < -180.0) // detect crossing angle1 negative, angle2 positive, rotation clockwise, … in angleDelta()
108 delta = angle1 - angle2 + 360.0; in angleDelta()
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.20/
H A D0031-waylandsink-Support-pointer-and-touch.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
4 Subject: [PATCH 31/35] waylandsink: Support pointer and touch
6 Based on weston's client window and simple-egl.
8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9 ---
10 ext/wayland/meson.build | 3 +-
14 4 files changed, 292 insertions(+), 1 deletion(-)
16 diff --git a/ext/wayland/meson.build b/ext/wayland/meson.build
18 --- a/ext/wayland/meson.build
20 @@ -37,12 +37,13 @@ if use_wayland
[all …]
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/input/touchscreen/
H A Dimx6ul_tsc.txt1 * Freescale i.MX6UL Touch Controller
4 - compatible: must be "fsl,imx6ul-tsc".
5 - reg: this touch controller address and the ADC2 address.
6 - interrupts: the interrupt of this touch controller and ADC2.
7 - clocks: the root clock of touch controller and ADC2.
8 - clock-names; must be "tsc" and "adc".
9 - xnur-gpio: the X- gpio this controller connect to.
10 This xnur-gpio returns to low once the finger leave the touch screen (The
11 last touch event the touch controller capture).
14 - measure-delay-time: the value of measure delay time.
[all …]
H A Dbu21013.txt1 * Rohm BU21013 Touch Screen
4 - compatible : "rohm,bu21013_tp"
5 - reg : I2C device address
6 - reset-gpios : GPIO pin enabling (selecting) chip (CS)
7 - interrupt-parent : the phandle for the gpio controller
8 - interrupts : (gpio) interrupt to which the chip is connected
11 - touch-gpios : GPIO pin registering a touch event
12 - <supply_name>-supply : Phandle to a regulator supply
13 - touchscreen-size-x : General touchscreen binding, see [1].
14 - touchscreen-size-y : General touchscreen binding, see [1].
[all …]
H A Dst,stmfts.txt1 * ST-Microelectronics FingerTip touchscreen controller
3 The ST-Microelectronics FingerTip device provides a basic touchscreen
7 The driver supports also hovering as an absolute single touch event with x, y, z
11 - compatible : must be "st,stmfts"
12 - reg : I2C slave address, (e.g. 0x49)
13 - interrupts : interrupt specification
14 - avdd-supply : analogic power supply
15 - vdd-supply : power supply
16 - touchscreen-size-x : see touchscreen.txt
17 - touchscreen-size-y : see touchscreen.txt
[all …]
/OK3568_Linux_fs/buildroot/package/gstreamer1/gst1-plugins-bad/
H A D0032-waylandsink-Support-pointer-and-touch.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
4 Subject: [PATCH 32/41] waylandsink: Support pointer and touch
6 Based on weston's client window and simple-egl.
8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9 ---
10 gst-libs/gst/wayland/gstwldisplay.c | 293 ++++++++++++++++++++++++++++
11 gst-libs/gst/wayland/gstwldisplay.h | 4 +
12 gst-libs/gst/wayland/gstwlwindow.c | 17 ++
13 gst-libs/gst/wayland/gstwlwindow.h | 4 +
14 gst-libs/gst/wayland/meson.build | 7 +-
[all …]
/OK3568_Linux_fs/yocto/meta-rockchip/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.22/
H A D0032-waylandsink-Support-pointer-and-touch.patch2 From: Jeffy Chen <jeffy.chen@rock-chips.com>
4 Subject: [PATCH 32/41] waylandsink: Support pointer and touch
6 Based on weston's client window and simple-egl.
8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
9 ---
10 gst-libs/gst/wayland/gstwldisplay.c | 293 ++++++++++++++++++++++++++++
11 gst-libs/gst/wayland/gstwldisplay.h | 4 +
12 gst-libs/gst/wayland/gstwlwindow.c | 17 ++
13 gst-libs/gst/wayland/gstwlwindow.h | 4 +
14 gst-libs/gst/wayland/meson.build | 7 +-
[all …]
/OK3568_Linux_fs/kernel/tools/perf/tests/shell/
H A Dtest_arm_coresight.sh9 # SPDX-License-Identifier: GPL-2.0
16 perf list | grep -q 'cs_etm//' && return 0
18 # cs_etm event doesn't exist
26 rm -f ${perfdata}
27 rm -f ${file}
34 rm -f $file
35 perf record -o ${perfdata} -e cs_etm/@$1/u --per-thread \
36 -- taskset -c $2 touch $file
43 …# touch 6512 1 branches:u: ffffb220824c strcmp+0xc (/lib/aarch64-linux-gn…
44 …# touch 6512 1 branches:u: ffffb22082e0 strcmp+0xa0 (/lib/aarch64-linux-g…
[all …]

12345678910>>...21