/linux-master/drivers/input/mouse/ |
H A D | focaltech.c | 54 #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 in struct:focaltech_hw_state 123 struct focaltech_finger_state *finger = &state->fingers[i]; 154 unsigned char fingers = packet[1]; local 159 /* the second byte contains a bitmap of all fingers touching the pad */ 161 state->fingers[i].active = fingers & 0x1; 162 if (!state->fingers[ [all...] |
H A D | appletouch.c | 334 int fact, int *z, int *fingers) 348 *fingers = 0; 357 * two fingers with no gap will be detected. Also, my 372 (*fingers)++; 379 if (*fingers < 1) /* No need to continue if no fingers are found. */ 432 static inline void atp_report_fingers(struct input_dev *input, int fingers) argument 434 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); 435 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); 436 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 333 atp_calculate_abs(struct atp *dev, int offset, int nb_sensors, int fact, int *z, int *fingers) argument 519 int key, fingers; local 659 int key, fingers; local [all...] |
H A D | elantech.c | 325 int fingers; local 332 fingers = ((packet[1] & 0x80) >> 7) + 339 fingers = (packet[0] & 0xc0) >> 6; 343 if (fingers != 1) { 353 input_report_key(dev, BTN_TOUCH, fingers != 0); 359 if (fingers) { 366 input_report_key(dev, BTN_TOOL_FINGER, fingers == 1); 367 input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2); 368 input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3); 394 /* x1 < x2 and y1 < y2 when two fingers, 413 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local 564 unsigned int fingers = 0, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local 657 unsigned fingers; local [all...] |
H A D | alps.c | 359 int *fingers) 371 (*fingers)++; 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; local 407 * Fingers can overlap, so we use the maximum count of fingers 410 fingers = max(fingers_x, fingers_y); 414 * adjacent fingers. Divide the single contact between the two points. 499 return fingers; 524 static void alps_report_semi_mt_data(struct psmouse *psmouse, int fingers) argument 356 alps_get_bitmap_points(unsigned int map, struct alps_bitmap_point *low, struct alps_bitmap_point *high, int *fingers) argument 731 int fingers = 0; local 1016 int i, fingers = 0; local [all...] |
H A D | alps.h | 36 * 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 in struct:alps_fields
|
/linux-master/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 190 int fingers = 0; local 231 if (fingers == 0) 237 fingers++; 241 input_report_key(ts->input, BTN_TOUCH, fingers > 0);
|
H A D | wdt87xx_i2c.c | 994 int i, fingers; local 1004 fingers = raw_buf[TOUCH_PK_V1_OFFSET_FNGR_NUM]; 1005 if (!fingers)
|
/linux-master/drivers/input/keyboard/ |
H A D | applespi.c | 149 * @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 in struct:touchpad_protocol 325 * fingers pressed) the message is split over multiple packets (see the 1050 f = &t->fingers[i]; 1066 &applespi->pos[i], &t->fingers[i]); 1521 tp_len = struct_size(tp, fingers, t [all...] |
/linux-master/drivers/hid/ |
H A D | hid-logitech-hidpp.c | 2275 struct hidpp_touchpad_raw_xy_finger fingers[2]; member in struct:hidpp_touchpad_raw_xy 2360 hidpp_touchpad_touch_event(&data[2], &raw_xy->fingers[0]); 2361 hidpp_touchpad_touch_event(&data[9], &raw_xy->fingers[1]); 3002 wtp_touch_event(hidpp, &(raw->fingers[i])); 3023 .fingers = {
|