Lines Matching defs:value
156 double value = (absinfo->value - absinfo->minimum) / range - 0.25;
158 if (value < 0.0)
159 value += 1.0;
161 return value;
167 /* strip axes don't use a proper value, they just shift the bit left
168 * for each position. 0 isn't a real value either, it's only sent on
173 double value = (log2(absinfo->value) - min) / range;
175 return value;
208 if (absinfo->value == 0)
258 double value;
268 value = pad_handle_ring(pad, device, ABS_WHEEL);
270 value = -1.0;
276 value,
282 value = pad_handle_ring(pad, device, ABS_THROTTLE);
284 value = -1.0;
290 value,
296 value = pad_handle_strip(pad, device, ABS_RX);
298 value = -1.0;
304 value,
310 value = pad_handle_strip(pad, device, ABS_RY);
312 value = -1.0;
318 value,
334 uint32_t is_press = e->value != 0;
337 if (e->value == 2)