Lines Matching refs:value

43    This value is higher during test suite runs */
186 current = e->value;
235 tablet->current_value[axis] = e->value;
242 tablet->current_tool.id = e->value;
338 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo);
340 return value * 2 - 1;
346 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo);
348 return value;
368 double value = (absinfo->value - base) / range;
370 return max(0.0, value);
376 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo);
385 value = 180.0/M_PI * absinfo->value/absinfo->resolution;
393 value = (value * 2) - 1;
394 value *= WACOM_MAX_DEGREES;
397 return value;
403 return absinfo->maximum - (absinfo->value - absinfo->minimum);
434 double value = (absinfo->value - absinfo->minimum) / absinfo_range(absinfo);
436 return fmod(value * 360.0 + offset, 360.0);
441 int value)
445 return value * device->scroll.wheel_click_angle.x;
453 int value;
464 value = invert_axis(absinfo);
466 value = absinfo->value;
468 tablet->axes.point.x = value;
473 value = invert_axis(absinfo);
475 value = absinfo->value;
477 tablet->axes.point.y = value;
823 if (e->value == 2)
840 if (e->value)
848 if (e->value)
857 tablet_update_button(tablet, e->code, e->value);
880 tablet->axes.wheel_discrete = -1 * e->value;
900 if (e->value != -1)
901 tablet->current_tool.serial = e->value;
1034 * ABS_Z, otherwise we try to get the value from it later on
1273 * down". We use the lower threshold as minimum pressure value,
1275 tool_in_contact = (pressure->value > tool->pressure.threshold.lower);
1279 distance->value > distance->minimum &&
1280 pressure->value > pressure->minimum) {
1291 /* Make sure that the last axis value sent to the caller is a 0 */
1353 * offset value, don't actually set it to have an offset.
1355 int offset = pressure->value;
1382 offset = pressure->value;
1389 if (distance->value < axis_range_percentage(distance, 50))
1394 * in the hope we'll find the minimum value until then. That
1464 pressure = p->value;
1501 dist = distance->value;
2091 .value = 0 },
2096 .value = 0 },