Lines Matching defs:rel_y
1322 signed char rel_x = 0x00, rel_y = 0x00;
1333 rel_y = buf[3];
1343 rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 |
1346 rel_y |= ~0x0f;
1347 rel_y = rel_y + rel_y / 2;
1367 } else if (rel_x || rel_y) {
1369 input_report_rel(ictx->idev, REL_Y, rel_y);
1398 signed char rel_x = 0x00, rel_y = 0x00;
1418 rel_y = buf[3];
1421 if ((buf[1] == 0) && ((rel_x != 0) || (rel_y != 0))) {
1422 dir = stabilize((int)rel_x, (int)rel_y,
1441 if (abs(rel_y) > abs(rel_x)) {
1442 buf[2] = (rel_y > 0) ? 0x7F : 0x80;
1444 if (rel_y > 0)
1479 rel_y = (buf[2] & 0x08) | (buf[2] & 0x10) >> 2 |
1482 rel_y |= ~0x10+1;
1488 dir = stabilize((int)rel_x, (int)rel_y,
1504 if (abs(rel_y) > abs(rel_x)) {
1505 buf[2] = (rel_y > 0) ? 0x7F : 0x80;
1507 if (rel_y > 0)