Home
last modified time | relevance | path

Searched refs:fingers (Results 1 – 21 of 21) sorted by relevance

/Linux-v5.4/drivers/input/mouse/
Dfocaltech.c94 struct focaltech_finger_state fingers[FOC_MAX_FINGERS]; member
123 struct focaltech_finger_state *finger = &state->fingers[i]; in focaltech_report_state()
154 unsigned char fingers = packet[1]; in focaltech_process_touch_packet() local
161 state->fingers[i].active = fingers & 0x1; in focaltech_process_touch_packet()
162 if (!state->fingers[i].active) { in focaltech_process_touch_packet()
167 state->fingers[i].valid = false; in focaltech_process_touch_packet()
169 fingers >>= 1; in focaltech_process_touch_packet()
189 state->fingers[finger].x = ((packet[1] & 0xf) << 8) | packet[2]; in focaltech_process_abs_packet()
190 state->fingers[finger].y = (packet[3] << 8) | packet[4]; in focaltech_process_abs_packet()
192 state->fingers[finger].valid = true; in focaltech_process_abs_packet()
[all …]
Dappletouch.c334 int fact, int *z, int *fingers) in atp_calculate_abs() argument
348 *fingers = 0; in atp_calculate_abs()
372 (*fingers)++; in atp_calculate_abs()
379 if (*fingers < 1) /* No need to continue if no fingers are found. */ in atp_calculate_abs()
432 static inline void atp_report_fingers(struct input_dev *input, int fingers) in atp_report_fingers() argument
434 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); in atp_report_fingers()
435 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); in atp_report_fingers()
436 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); in atp_report_fingers()
519 int key, fingers; in atp_complete_geyser_1_2() local
602 fingers = max(x_f, y_f); in atp_complete_geyser_1_2()
[all …]
Delantech.c284 int fingers; in elantech_report_absolute_v1() local
291 fingers = ((packet[1] & 0x80) >> 7) + in elantech_report_absolute_v1()
298 fingers = (packet[0] & 0xc0) >> 6; in elantech_report_absolute_v1()
302 if (fingers != 1) { in elantech_report_absolute_v1()
312 input_report_key(dev, BTN_TOUCH, fingers != 0); in elantech_report_absolute_v1()
318 if (fingers) { in elantech_report_absolute_v1()
325 input_report_key(dev, BTN_TOOL_FINGER, fingers == 1); in elantech_report_absolute_v1()
326 input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2); in elantech_report_absolute_v1()
327 input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3); in elantech_report_absolute_v1()
372 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; in elantech_report_absolute_v2() local
[all …]
Dalps.c359 int *fingers) in alps_get_bitmap_points() argument
371 (*fingers)++; in alps_get_bitmap_points()
395 int i, fingers_x = 0, fingers_y = 0, fingers, closest; in alps_process_bitmap() local
410 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
499 return fingers; in alps_process_bitmap()
524 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) in alps_report_semi_mt_data() argument
531 if (fingers < 2) { in alps_report_semi_mt_data()
534 fingers = f->pressure > 0 ? 1 : 0; in alps_report_semi_mt_data()
538 if (fingers >= 1) in alps_report_semi_mt_data()
540 if (fingers >= 2) in alps_report_semi_mt_data()
[all …]
Dalps.h235 unsigned int fingers; member
/Linux-v5.4/Documentation/devicetree/bindings/input/touchscreen/
Dsilead_gsl1680.txt23 - silead,max-fingers : maximum number of fingers the touchscreen can detect
42 silead,max-fingers = <5>;
/Linux-v5.4/Documentation/input/devices/
Delantech.rst53 per packet, and provides additional features such as position of two fingers,
55 for 2 fingers the concatenation of two 6 bytes packets) and allows tracking
56 of up to 3 fingers. Hardware version 4 uses 6 bytes per packet, and can
58 4 allows tracking up to 5 fingers.
280 n1..n0 = number of fingers on touchpad
302 This counting is reset whenever a different number of fingers is reported.
322 n1..n0 = number of fingers on touchpad
434 n1..n0 = number of fingers on touchpad
453 n4 = set if more than 3 fingers (only in 3 fingers mode)
486 two fingers, but only the pair of the lower-left and upper-right coordinates.
[all …]
Dalps.rst100 For protocol version 2 devices when the trackpoint is used, and no fingers
322 Clickpads: When > 2 fingers are down, and some fingers
324 are for fingers outside the button area and these report
325 extra fingers being present in the right / left button
326 area. Note these fingers are not added to the F field!
328 3 fingers down, etc.
333 F: Number of fingers - 3, 0 means 3 fingers, 1 means 4 ...
Dntrig.rst30 |activate_slack |number of fingers to ignore before processing events |
35 |min_height, |size threshold bellow which fingers are ignored |
97 Time is measured in terms of the number of fingers reported, not frames since
136 As of yet, all tested N-Trig firmwares do not track fingers. When multiple
Dsentelic.rst165 When both fingers are up, the last two reports have zero valid
190 When both fingers are up, the last two reports have zero valid
224 Bit5~Bit4 => Number of fingers
257 When both fingers are up, the last two reports have zero valid
284 When both fingers are up, the last two reports have zero valid
321 Bit5~Bit4 => Number of fingers
401 When one of the two fingers is up, the device will output four consecutive
404 the 2nd finger is up. On the other hand, if both fingers are up, the device
696 Unlike other devices which sends multiple fingers' coordinates to host,
697 FSP processes multiple fingers' coordinates internally and convert them
[all …]
/Linux-v5.4/drivers/input/touchscreen/
Dauo-pixcir-ts.c178 int fingers = 0; in auo_pixcir_interrupt() local
219 if (fingers == 0) in auo_pixcir_interrupt()
225 fingers++; in auo_pixcir_interrupt()
229 input_report_key(ts->input, BTN_TOUCH, fingers > 0); in auo_pixcir_interrupt()
Dwdt87xx_i2c.c997 int i, fingers; in wdt87xx_ts_interrupt() local
1007 fingers = raw_buf[TOUCH_PK_V1_OFFSET_FNGR_NUM]; in wdt87xx_ts_interrupt()
1008 if (!fingers) in wdt87xx_ts_interrupt()
/Linux-v5.4/arch/arm/boot/dts/
Drk3188-px3-evb.dts227 silead,max-fingers = <5>;
/Linux-v5.4/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts214 silead,max-fingers = <5>;
/Linux-v5.4/drivers/input/keyboard/
Dapplespi.c189 struct tp_finger fingers[0]; member
1026 f = &t->fingers[i]; in report_tp_state()
1042 &applespi->pos[i], &t->fingers[i]); in report_tp_state()
1497 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
/Linux-v5.4/Documentation/input/
Dmulti-touch-protocol.rst255 the notion of pressure. The fingers of the hand and the palm all have
395 and with ORIENTATION, one can detect twisting of fingers.
405 subsequent events of the same type refer to different fingers.
Devent-codes.rst135 touchscreens. These devices may be used with fingers, pens, or other tools.
166 trackpad or touchscreen. For example, if the user uses two fingers and moves
/Linux-v5.4/drivers/hid/
Dhid-logitech-hidpp.c1547 struct hidpp_touchpad_raw_xy_finger fingers[2]; member
1632 hidpp_touchpad_touch_event(&data[2], &raw_xy->fingers[0]); in hidpp_touchpad_raw_xy_event()
1633 hidpp_touchpad_touch_event(&data[9], &raw_xy->fingers[1]); in hidpp_touchpad_raw_xy_event()
2268 wtp_touch_event(hidpp, &(raw->fingers[i])); in wtp_send_raw_xy_event()
2289 .fingers = { in wtp_mouse_raw_xy_event()
/Linux-v5.4/Documentation/driver-api/
Dpinctl.rst11 - Multiplexing of pins, pads, fingers (etc) see below for details
13 - Configuration of pins, pads, fingers (etc), such as software-controlled
28 - PINS are equal to pads, fingers, balls or whatever packaging input or
542 pads (or "fingers") rather than pins - these are the soldering surfaces on the
/Linux-v5.4/Documentation/vm/
Dcleancache.rst159 * Why does cleancache have its sticky fingers so deep inside the
/Linux-v5.4/Documentation/input/joydev/
Djoystick.rst431 future if I get an Amiga in the reach of my fingers.