Lines Matching refs:rel_y
1317 signed char rel_x = 0x00, rel_y = 0x00;
1328 rel_y = buf[3];
1338 rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 |
1341 rel_y |= ~0x0f;
1342 rel_y = rel_y + rel_y / 2;
1362 } else if (rel_x || rel_y) {
1364 input_report_rel(ictx->idev, REL_Y, rel_y);
1393 signed char rel_x = 0x00, rel_y = 0x00;
1413 rel_y = buf[3];
1416 if ((buf[1] == 0) && ((rel_x != 0) || (rel_y != 0))) {
1417 dir = stabilize((int)rel_x, (int)rel_y,
1436 if (abs(rel_y) > abs(rel_x)) {
1437 buf[2] = (rel_y > 0) ? 0x7F : 0x80;
1439 if (rel_y > 0)
1474 rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 |
1477 rel_y |= ~0x10+1;
1483 dir = stabilize((int)rel_x, (int)rel_y,
1499 if (abs(rel_y) > abs(rel_x)) {
1500 buf[2] = (rel_y > 0) ? 0x7F : 0x80;
1502 if (rel_y > 0)