Home
last modified time | relevance | path

Searched refs:finger (Results 1 – 18 of 18) sorted by relevance

/linux/drivers/input/mouse/
H A Dfocaltech.c123 struct focaltech_finger_state *finger = &state->fingers[i]; in focaltech_report_state() local
124 bool active = finger->active && finger->valid; in focaltech_report_state()
134 finger->x = clamp(finger->x, 0, priv->x_max); in focaltech_report_state()
135 finger->y = clamp(finger->y, 0, priv->y_max); in focaltech_report_state()
136 input_report_abs(dev, ABS_MT_POSITION_X, finger->x); in focaltech_report_state()
138 priv->y_max - finger->y); in focaltech_report_state()
177 unsigned int finger; in focaltech_process_abs_packet() local
179 finger = (packet[1] >> 4) - 1; in focaltech_process_abs_packet()
180 if (finger >= FOC_MAX_FINGERS) { in focaltech_process_abs_packet()
182 finger); in focaltech_process_abs_packet()
[all …]
/linux/drivers/input/touchscreen/
H A Dsurface3_spi.c67 struct surface3_ts_data_finger *finger) in surface3_spi_report_touch() argument
69 int st = finger->status & 0x01; in surface3_spi_report_touch()
73 get_unaligned_le16(&finger->tracking_id)); in surface3_spi_report_touch()
82 get_unaligned_le16(&finger->x)); in surface3_spi_report_touch()
85 get_unaligned_le16(&finger->y)); in surface3_spi_report_touch()
88 get_unaligned_le16(&finger->width)); in surface3_spi_report_touch()
91 get_unaligned_le16(&finger->height)); in surface3_spi_report_touch()
100 struct surface3_ts_data_finger *finger; in surface3_spi_process_touch() local
102 finger = (struct surface3_ts_data_finger *)&data[17 + in surface3_spi_process_touch()
111 if (finger->status & 0x10) in surface3_spi_process_touch()
[all …]
H A Dili210x.c47 bool (*parse_touch_data)(const u8 *data, unsigned int finger,
107 unsigned int finger, in ili210x_touchdata_to_coords() argument
111 if (!(touchdata[0] & BIT(finger))) in ili210x_touchdata_to_coords()
114 *x = get_unaligned_be16(touchdata + 1 + (finger * 4) + 0); in ili210x_touchdata_to_coords()
115 *y = get_unaligned_be16(touchdata + 1 + (finger * 4) + 2); in ili210x_touchdata_to_coords()
163 unsigned int finger, in ili211x_touchdata_to_coords() argument
169 data = get_unaligned_be32(touchdata + 1 + (finger * 4) + 0); in ili211x_touchdata_to_coords()
173 *x = ((touchdata[1 + (finger * 4) + 0] & 0xf0) << 4) | in ili211x_touchdata_to_coords()
174 touchdata[1 + (finger * 4) + 1]; in ili211x_touchdata_to_coords()
175 *y = ((touchdata[1 + (finger * 4) + 0] & 0x0f) << 8) | in ili211x_touchdata_to_coords()
[all …]
H A Dzforce_ts.c208 static int zforce_scan_frequency(struct zforce_ts *ts, u16 idle, u16 finger, in zforce_scan_frequency() argument
214 (finger & 0xff), ((finger >> 8) & 0xff), in zforce_scan_frequency()
219 idle, finger, stylus); in zforce_scan_frequency()
H A Dapple_z2.c46 u8 finger; member
96 slot = input_mt_get_slot_by_key(z2->input_dev, fingers[i].finger); in apple_z2_parse_touches()
H A DKconfig393 system. It also supports 5-finger chip models, which can be
/linux/Documentation/input/devices/
H A Dsentelic.rst164 Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up.
189 Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up.
236 Sample sequence of Multi-finger, Multi-coordinate mode:
256 Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up.
259 Bit4 => finger up/down information. 1: finger down, 0: finger up.
261 Bit2 => finger index, 0 is the first finger, 1 is the second finger.
283 Bit5 => Valid bit, 0 means that the coordinate is invalid or finger up.
286 Bit4 => finger up/down information. 1: finger down, 0: finger up.
288 Bit2 => finger index, 0 is the first finger, 1 is the second finger.
333 Sample sequence of Multi-finger, Multi-coordinate mode:
[all …]
H A Dappletouch.rst32 will give additional functionalities, like acceleration, scrolling, 2 finger
33 tap for middle button mouse emulation, 3 finger tap for right button mouse
76 is not perfect. If finger movements are not recognized anymore, try reloading
H A Dntrig.rst42 When the last finger is removed from the device, it sends a number of empty
44 erroneous disconnects, where the sensor may mistakenly not detect a finger that
79 where no finger was actually touching the screen.
110 a mechanism for filtering out ghosts in the form of an extra finger while
H A Dalps.rst174 bitmaps a given bit is set if there is a finger covering that position on the
176 data, although finger tracking is not possible. This packet also encodes the
390 OVF: 5th finger detected
/linux/Documentation/input/
H A Dmulti-touch-protocol.rst62 important. Event filtering and finger tracking is left to user space [#f3]_.
177 looking through a window at someone gently holding a finger against the
179 of the finger actually touching the glass, and one outer region formed by
180 the perimeter of the finger. The center of the touching region (a) is
181 ABS_MT_POSITION_X/Y and the center of the approaching finger (b) is
182 ABS_MT_TOOL_X/Y. The touch diameter is ABS_MT_TOUCH_MAJOR and the finger
183 diameter is ABS_MT_WIDTH_MAJOR. Now imagine the person pressing the finger
213 In addition to the MAJOR parameters, the oval shape of the touch and finger
217 direction of the finger ellipse is given by the vector (a - b).
223 finger or a pen or something else. Finally, the ABS_MT_TRACKING_ID event
[all …]
H A Devent-codes.rst169 - These codes denote one, two, three, and four finger interaction on a
174 purpose. A trackpad event generated by finger touches should generate events
178 Note: Historically some drivers emitted multiple of the finger count codes with
258 A finger flattens with pressure, causing a larger contact area and thus
437 The guidelines below ensure proper single-touch and multi-finger functionality.
467 on the trackpad. Where multi-finger support is available, BTN_TOOL_<name> should
/linux/Documentation/ABI/testing/
H A Dsysfs-driver-hid-ntrig18 When the last finger is removed from the device, it sends a
21 sensor may mistakenly not detect a finger that is still present.
/linux/include/linux/netfilter/
H A Dnfnetlink_osf.h21 struct nf_osf_user_finger finger; member
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2331 struct hidpp_touchpad_raw_xy_finger *finger) in hidpp_touchpad_touch_event()
2336 finger->x = x_m << 6 | data[1]; in hidpp_touchpad_touch_event()
2337 finger->y = y_m << 6 | data[3]; in hidpp_touchpad_touch_event()
2339 finger->contact_type = data[0] >> 6; in hidpp_touchpad_touch_event()
2340 finger->contact_status = data[2] >> 6; in hidpp_touchpad_touch_event()
2342 finger->z = data[4]; in hidpp_touchpad_touch_event()
2343 finger->area = data[5]; in hidpp_touchpad_touch_event()
2344 finger->finger_id = data[6] >> 4; in hidpp_touchpad_touch_event()
2332 hidpp_touchpad_touch_event(u8 * data,struct hidpp_touchpad_raw_xy_finger * finger) hidpp_touchpad_touch_event() argument
H A Dwacom_sys.c445 bool finger = WACOM_FINGER_FIELD(field); in wacom_usage_mapping() local
456 else if (finger) in wacom_usage_mapping()
466 if (finger) { in wacom_usage_mapping()
477 if (finger) { in wacom_usage_mapping()
/linux/Documentation/driver-api/
H A Dpin-control.rst398 a certain physical pin (ball, pad, finger, etc) for multiple mutually exclusive
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt4240 [MOUSE] Maximum time between finger touching and