Home
last modified time | relevance | path

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

123

/linux/drivers/input/mouse/
H A Dfocaltech.c54 #define FOC_TOUCH 0x3 /* bitmap of active fingers */
56 #define FOC_REL 0x9 /* relative position of 1-2 fingers */
90 * The touchpad tracks the positions of the fingers for us,
94 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
159 /* the second byte contains a bitmap of all fingers touching the pad */ in focaltech_process_touch_packet()
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()
[all …]
H A Dappletouch.c334 int fact, int *z, int *fingers) in atp_calculate_abs() argument
348 *fingers = 0; in atp_calculate_abs()
357 * two fingers with no gap will be detected. Also, my 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
[all …]
H A 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()
394 /* x1 < x2 and y1 < y2 when two fingers, x = y = 0 when not pressed */
[all …]
H A Dalps.h36 * SS4_PACKET_ID_TWO: There's two or more fingers on touchpad
37 * SS4_PACKET_ID_MULTI: There's three or more fingers on touchpad
151 * V7_PACKET_ID_TWO: There's one or two non-resting fingers on touchpad
153 * V7_PACKET_ID_MULTI: There are at least three non-resting fingers.
219 * @fingers: Number of fingers for MT.
235 unsigned int fingers; member
H A Dalps.c359 int *fingers) in alps_get_bitmap_points() argument
371 (*fingers)++; in alps_get_bitmap_points()
384 * fingers detected. A return value of 0 means at least one of the
387 * The bitmaps don't have enough data to track fingers, so this function
395 int i, fingers_x = 0, fingers_y = 0, fingers, closest; in alps_process_bitmap() local
407 * Fingers can overlap, so we use the maximum count of fingers in alps_process_bitmap()
410 fingers = max(fingers_x, fingers_y); in alps_process_bitmap()
414 * adjacent fingers. Divide the single contact between the two points. 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
[all …]
H A Delantech.h98 * track up to 5 fingers for v4 hardware
/linux/Documentation/input/devices/
H A 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 …]
H A 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 ...
H A 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
H A 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/Documentation/devicetree/bindings/input/touchscreen/
H A Dsilead,gsl1680.yaml38 silead,max-fingers:
42 Maximum number of fingers the touchscreen can detect
87 silead,max-fingers = <5>;
/linux/drivers/input/rmi4/
H A Drmi_2d_sensor.h33 * @nbr_fingers - How many fingers can this sensor report?
37 * position when two fingers are on the device. When this is true, we
/linux/drivers/input/keyboard/
H A Dapplespi.c149 * @multi: one finger: varies, more fingers: constant
152 * @crc16 field; unknown on all other fingers.
178 * @number_of_fingers: the number of fingers being reported in @fingers
181 * @fingers: the data for each finger
190 struct tp_finger fingers[]; member
325 * fingers pressed) the message is split over multiple packets (see the
1049 f = &t->fingers[i]; in report_tp_state()
1065 &applespi->pos[i], &t->fingers[i]); in report_tp_state()
1520 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
1524 "Received corrupted packet (invalid message length %u - num-fingers %u, tp-len %zu)\n", in applespi_got_data()
[all …]
/linux/include/linux/
H A Drmi.h83 * triggers some jumps by tapping with two fingers on the touchpad.
88 * distincts fingers to be considered the same.
140 * is, enter a temporary low power state) when no fingers are touching the
/linux/drivers/input/touchscreen/
H A 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()
H A Dcy8ctma140.c15 * just use it to read the fingers. The shipped vendor driver does the
132 dev_err(ts->dev, "unexpected number of fingers: %d\n", in cy8ctma140_irq_thread()
H A Dgoodix_berlin_core.c534 * If 2 fingers are reported, we would have read the exact needed in goodix_berlin_irq()
541 * If more than 2 fingers were reported, the "Checksum" bytes would in goodix_berlin_irq()
545 * For example, if 3 fingers are reported, then we would do: in goodix_berlin_irq()
H A Dhynitron_cstxxx.c278 * Note buffer is sized for 5 fingers, if more needed buffer must
337 /* Sanity check we don't have more fingers than we expect */ in cst3xx_touch_report()
H A Dpixcir_i2c_ts.c20 #define PIXCIR_MAX_SLOTS 5 /* Max fingers supported by driver */
66 * @max_fingers: Max number of fingers reported simultaneously by h/w
/linux/Documentation/input/
H A 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.
H A 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/drivers/hid/
H A Dhid-udraw-ps3.c77 * the device could report a single touch when the two fingers
78 * are too close together, and the distance between fingers, even
H A Dhid-elan.c282 * When touched with two fingers Elan touchpad will emit two HID reports in elan_usb_report_input()
327 * as in USB mode, but then with all fingers in a single packet. in elan_i2c_report_input()
/linux/arch/m68k/include/uapi/asm/
H A Dbootinfo.h28 * Thus, keep your fingers crossed...
/linux/arch/x86/math-emu/
H A Dpoly.h87 problem, but keep fingers crossed! */

123