Home
last modified time | relevance | path

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

/linux/drivers/input/mouse/
H A 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 …]
H A Dappletouch.c333 int fact, int *z, int *fingers) in atp_calculate_abs() argument
347 *fingers = 0; in atp_calculate_abs()
371 (*fingers)++; in atp_calculate_abs()
378 if (*fingers < 1) /* No need to continue if no fingers are found. */ in atp_calculate_abs()
431 static inline void atp_report_fingers(struct input_dev *input, int fingers) in atp_report_fingers() argument
433 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); in atp_report_fingers()
434 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); in atp_report_fingers()
435 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); in atp_report_fingers()
518 int key, fingers; in atp_complete_geyser_1_2() local
601 fingers = max(x_f, y_f); in atp_complete_geyser_1_2()
[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()
413 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; in elantech_report_absolute_v2() local
[all …]
H A 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 …]
H A Dalps.h235 unsigned int fingers; member
/linux/drivers/input/touchscreen/
H A Dapple_z2.c89 struct apple_z2_finger *fingers; in apple_z2_parse_touches() local
94 fingers = (struct apple_z2_finger *)(msg + APPLE_Z2_FINGERS_OFFSET); in apple_z2_parse_touches()
96 slot = input_mt_get_slot_by_key(z2->input_dev, fingers[i].finger); in apple_z2_parse_touches()
101 slot_valid = fingers[i].state == APPLE_Z2_TOUCH_STARTED || in apple_z2_parse_touches()
102 fingers[i].state == APPLE_Z2_TOUCH_MOVED; in apple_z2_parse_touches()
107 le16_to_cpu(fingers[i].abs_x), in apple_z2_parse_touches()
108 le16_to_cpu(fingers[i].abs_y), in apple_z2_parse_touches()
111 le16_to_cpu(fingers[i].tool_major)); in apple_z2_parse_touches()
113 le16_to_cpu(fingers[i].tool_minor)); in apple_z2_parse_touches()
115 le16_to_cpu(fingers[i].orientation)); in apple_z2_parse_touches()
[all …]
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()
/linux/Documentation/input/devices/
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/drivers/input/keyboard/
H A Dapplespi.c190 struct tp_finger fingers[]; member
1031 f = &t->fingers[i]; in report_tp_state()
1047 &applespi->pos[i], &t->fingers[i]); in report_tp_state()
1498 tp_len = struct_size(tp, fingers, tp->number_of_fingers); in applespi_got_data()
/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
417 - can differentiate between at least 5 fingers
/linux/drivers/hid/
H A Dhid-logitech-hidpp.c2260 struct hidpp_touchpad_raw_xy_finger fingers[2]; member
2345 hidpp_touchpad_touch_event(&data[2], &raw_xy->fingers[0]); in hidpp_touchpad_raw_xy_event()
2346 hidpp_touchpad_touch_event(&data[9], &raw_xy->fingers[1]); in hidpp_touchpad_raw_xy_event()
2987 wtp_touch_event(hidpp, &(raw->fingers[i])); in wtp_send_raw_xy_event()
3008 .fingers = { in wtp_mouse_raw_xy_event()
/linux/Documentation/driver-api/
H A Dpin-control.rst11 - Multiplexing of pins, pads, fingers (etc) see below for details
13 - Configuration of pins, pads, fingers (etc), such as software-controlled
26 - PINS are equal to pads, fingers, balls or whatever packaging input or
544 pads (or "fingers") rather than pins - these are the soldering surfaces on the
/linux/Documentation/input/joydev/
H A Djoystick.rst431 future if I get an Amiga in the reach of my fingers.