Home
last modified time | relevance | path

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

/linux-6.1.9/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.c325 int fingers; in elantech_report_absolute_v1() local
332 fingers = ((packet[1] & 0x80) >> 7) + in elantech_report_absolute_v1()
339 fingers = (packet[0] & 0xc0) >> 6; in elantech_report_absolute_v1()
343 if (fingers != 1) { in elantech_report_absolute_v1()
353 input_report_key(dev, BTN_TOUCH, fingers != 0); in elantech_report_absolute_v1()
359 if (fingers) { in elantech_report_absolute_v1()
366 input_report_key(dev, BTN_TOOL_FINGER, fingers == 1); in elantech_report_absolute_v1()
367 input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2); in elantech_report_absolute_v1()
368 input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3); in elantech_report_absolute_v1()
413 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-6.1.9/Documentation/devicetree/bindings/input/touchscreen/
Dsilead,gsl1680.yaml38 silead,max-fingers:
42 Maximum number of fingers the touchscreen can detect
87 silead,max-fingers = <5>;
/linux-6.1.9/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 below 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-6.1.9/drivers/input/touchscreen/
Dauo-pixcir-ts.c190 int fingers = 0; in auo_pixcir_interrupt() local
231 if (fingers == 0) in auo_pixcir_interrupt()
237 fingers++; in auo_pixcir_interrupt()
241 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-6.1.9/arch/arm/boot/dts/
Drk3188-px3-evb.dts232 silead,max-fingers = <5>;
/linux-6.1.9/arch/arm64/boot/dts/rockchip/
Drk3368-px5-evb.dts219 silead,max-fingers = <5>;
/linux-6.1.9/drivers/input/keyboard/
Dapplespi.c190 struct tp_finger fingers[]; member
1050 f = &t->fingers[i]; in report_tp_state()
1066 &applespi->pos[i], &t->fingers[i]); in report_tp_state()
1521 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
/linux-6.1.9/Documentation/input/
Dmulti-touch-protocol.rst255 the notion of pressure. The fingers of the hand and the palm all have
399 and with ORIENTATION, one can detect twisting of fingers.
409 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.
170 trackpad or touchscreen. For example, if the user uses two fingers and moves
/linux-6.1.9/drivers/hid/
Dhid-logitech-hidpp.c2003 struct hidpp_touchpad_raw_xy_finger fingers[2]; member
2088 hidpp_touchpad_touch_event(&data[2], &raw_xy->fingers[0]); in hidpp_touchpad_raw_xy_event()
2089 hidpp_touchpad_touch_event(&data[9], &raw_xy->fingers[1]); in hidpp_touchpad_raw_xy_event()
2730 wtp_touch_event(hidpp, &(raw->fingers[i])); in wtp_send_raw_xy_event()
2751 .fingers = { in wtp_mouse_raw_xy_event()
/linux-6.1.9/Documentation/driver-api/
Dpin-control.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-6.1.9/Documentation/input/joydev/
Djoystick.rst431 future if I get an Amiga in the reach of my fingers.