Searched defs:fingers (Results 1 - 5 of 5) sorted by relevance
/drivers/input/mouse/ |
H A D | appletouch.c | 329 int *z, int *fingers) 336 *fingers = 0; 348 * two fingers with no gap will be detected. Also, my 362 (*fingers)++; 387 static inline void atp_report_fingers(struct input_dev *input, int fingers) argument 389 input_report_key(input, BTN_TOOL_FINGER, fingers == 1); 390 input_report_key(input, BTN_TOOL_DOUBLETAP, fingers == 2); 391 input_report_key(input, BTN_TOOL_TRIPLETAP, fingers > 2); 328 atp_calculate_abs(int *xy_sensors, int nb_sensors, int fact, int *z, int *fingers) argument
|
H A D | elantech.c | 240 int fingers; local 247 fingers = ((packet[1] & 0x80) >> 7) + 254 fingers = (packet[0] & 0xc0) >> 6; 258 if (fingers != 1) { 268 input_report_key(dev, BTN_TOUCH, fingers != 0); 274 if (fingers) { 281 input_report_key(dev, BTN_TOOL_FINGER, fingers == 1); 282 input_report_key(dev, BTN_TOOL_DOUBLETAP, fingers == 2); 283 input_report_key(dev, BTN_TOOL_TRIPLETAP, fingers == 3); 309 /* x1 < x2 and y1 < y2 when two fingers, 328 unsigned int fingers, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local 415 unsigned int fingers = 0, x1 = 0, y1 = 0, x2 = 0, y2 = 0; local 497 unsigned fingers; local [all...] |
H A D | alps.c | 262 * fingers detected. A return value of 0 means at least one of the 265 * The bitmaps don't have enough data to track fingers, so this function 278 int fingers_x = 0, fingers_y = 0, fingers; local 333 * Fingers can overlap, so we use the maximum count of fingers 336 fingers = max(fingers_x, fingers_y); 339 * If total fingers is > 1 but either axis reports only a single 340 * contact, we have overlapping or adjacent fingers. For the 344 if (fingers > 1) { 363 if (fingers > 1) { 370 return fingers; 460 int fingers = 0, bmap_fingers; local [all...] |
H A D | bcm5974.c | 184 __le16 multi; /* one finger: varies, more fingers: constant */ 187 /* trackpad finger data size, empirically at least ten fingers */ 229 int fingers; /* number of fingers on trackpad */ member in struct:bcm5974 517 /* while tracking finger still valid, count all fingers */ 539 if (dev->fingers < nmin) 540 dev->fingers = nmin; 541 if (dev->fingers > nmax) 542 dev->fingers = nmax; 544 input_report_key(input, BTN_TOUCH, dev->fingers > [all...] |
/drivers/input/touchscreen/ |
H A D | auo-pixcir-ts.c | 186 int fingers = 0; local 227 if (fingers == 0) 233 fingers++; 237 input_report_key(ts->input, BTN_TOUCH, fingers > 0);
|
Completed in 163 milliseconds